Skip to content

Commit

Permalink
Add openstreetmap as a default basemap.
Browse files Browse the repository at this point in the history
  • Loading branch information
na9da committed Nov 22, 2024
1 parent 35dc975 commit 6fb17ad
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions wwwroot/init/simple.json
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,21 @@
],
"viewerMode": "3dSmooth",
"baseMaps": {
"defaultBaseMapId": "basemap-positron",
"previewBaseMapId": "basemap-positron"
"defaultBaseMapId": "basemap-openstreetmap",
"previewBaseMapId": "basemap-natural-earth-II",
"items": [
{
"item": {
"id": "basemap-openstreetmap",
"name": "Openstreetmap",
"type": "open-street-map",
"url": "https://tile.openstreetmap.org/",
"attribution": "© <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap contributors</a>",
"opacity": 1.0
},
"image": "images/openstreetmap.png",
"contrastColor": "#000000"
}
]
}
}

0 comments on commit 6fb17ad

Please sign in to comment.