Hello, I am trying to use OSM with the Syncfusion Map component. Everything looks great, but I just encountered the issue where all the country names are translated into their default region language. For example, the United Kindom is displayed as the United Kingdom, Germany as Deutschland, and Poland as Polska. How can I make it more general and use just English names so all from the previous example will be displayed as United Kindom, Germany and Poland? Please see below the simplest code snipped using the OSM as a Sublayer for SfMaps <sfmaps> <mapszoomsettings enable=""/> <mapslayers> <mapslayer urltemplate="https://tile.openstreetmap.org/level/tileX/tileY.png" tvalue="string"/> </mapslayers> </sfmaps> asked 05 Jan, 15:43 Pawelszo |
You would need to use a tile provider that offers English labels all across the globe. As you are using raster tiles, the labels are ingrained in the images, so the normal tiles by the OSMF won't help. Instead you'll need an alternative tile provider with raster tiles that carries English labels only. Have a look at https://wiki.openstreetmap.org/wiki/Raster_tile_providers where you'll find several ones. Example map with raster tiles where English is used globally: www.osmap.uk answered 08 Jan, 14:28 Spiekerooger |