Skip to content

Commit 6fb17ad

Browse files
committed
Add openstreetmap as a default basemap.
1 parent 35dc975 commit 6fb17ad

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

wwwroot/init/simple.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,21 @@
762762
],
763763
"viewerMode": "3dSmooth",
764764
"baseMaps": {
765-
"defaultBaseMapId": "basemap-positron",
766-
"previewBaseMapId": "basemap-positron"
765+
"defaultBaseMapId": "basemap-openstreetmap",
766+
"previewBaseMapId": "basemap-natural-earth-II",
767+
"items": [
768+
{
769+
"item": {
770+
"id": "basemap-openstreetmap",
771+
"name": "Openstreetmap",
772+
"type": "open-street-map",
773+
"url": "https://tile.openstreetmap.org/",
774+
"attribution": "© <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap contributors</a>",
775+
"opacity": 1.0
776+
},
777+
"image": "images/openstreetmap.png",
778+
"contrastColor": "#000000"
779+
}
780+
]
767781
}
768782
}

0 commit comments

Comments
 (0)