Hi Sascha,
Thank you for contacting Syncfusion support.
We identified that you have used both “urlTemplate”
and “shapeData” properties in the “e-maps-layer” tag in the
provided code snippet. Only the “urlTemplate” property in the tag must
be set if you want to render online map providers. So, you must remove the “shapeData”
property, to render the online map providers in the Maps component. Please find
the code snippet for the same below.
Code Snippet:
|
<ejs-maps>
<e-maps-layers>
<e-maps-layer
urlTemplate=http://a.tile.openstreetmap.org/level/tileX/tileY.png></e-maps-layer>
</e-maps-layers>
</ejs-maps>
|
To know more about the online map providers in the Maps
component, please refer the below documentation.
https://ej2.syncfusion.com/aspnetcore/documentation/maps/providers/map-provider
Please let us know if you need any further assistance.
Regards,
Indumathi R.