added map

This commit is contained in:
Jackob_Punch 2023-10-01 07:38:34 +02:00
parent 13f85601f0
commit 13e01e21ae

View file

@ -2,13 +2,10 @@
@using Syncfusion.Blazor.Maps @using Syncfusion.Blazor.Maps
@using Syncfusion.Blazor.Maps
<SfMaps> <SfMaps>
<MapsZoomSettings ZoomFactor="4"></MapsZoomSettings> <MapsZoomSettings ZoomFactor="4"></MapsZoomSettings>
<MapsCenterPosition Latitude="29.394708" Longitude="-94.954653"></MapsCenterPosition> <MapsCenterPosition Latitude="29.394708" Longitude="-94.954653"></MapsCenterPosition>
<MapsLayers> <MapsLayers>
<MapsLayer ShapeData='new {dataOptions= "https://cdn.syncfusion.com/maps/map-data/world-map.json"}' TValue="string">
<MapsLayer UrlTemplate="https://tile.openstreetmap.org/level/tileX/tileY.png" TValue="string"> <MapsLayer UrlTemplate="https://tile.openstreetmap.org/level/tileX/tileY.png" TValue="string">
@* Add marker *@ @* Add marker *@
<MapsMarkerSettings> <MapsMarkerSettings>