Skip to content

Commit

Permalink
Update basemap-openstreetmap.js
Browse files Browse the repository at this point in the history
  • Loading branch information
modos189 authored Aug 13, 2024
1 parent c961ea8 commit 44734d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/basemap-openstreetmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var changelog = [
{
version: '0.1.3',
changes: ['Update OSM tile provider', 'Add CyclOSM tiles', 'Expose config'],
},
}
];

// https://wiki.openstreetmap.org/wiki/Raster_tile_providers
Expand Down Expand Up @@ -53,7 +53,7 @@ function setup() {
// OpenStreetMap tiles - we shouldn't use these by default - https://wiki.openstreetmap.org/wiki/Tile_usage_policy
// "Heavy use (e.g. distributing an app that uses tiles from openstreetmap.org) is forbidden without prior permission from the System Administrators"

for (var entry of mapOpenStreetMap.LAYERS) {
for ( var entry of mapOpenStreetMap.LAYERS ) {
var layer = new L.TileLayer(entry.url, entry.options);
layerChooser.addBaseLayer(layer, entry.name);
}
Expand Down

0 comments on commit 44734d9

Please sign in to comment.