Skip to content
Permalink
Browse files

Allow 2 more zoom levels on worldmap/openstreetmap

  • Loading branch information...
vpithart authored and LarsMichelsen committed Jul 4, 2019
1 parent 06a342a commit 17f853493285d32fe3a6db9b57da24608e435301
Showing with 2 additions and 0 deletions.
  1. +2 −0 share/frontend/nagvis-js/js/ViewWorldmap.js
@@ -60,13 +60,15 @@ var ViewWorldmap = ViewMap.extend({
attribution: oGeneralProperties.worldmap_tiles_attribution,
noWrap: true, // don't repeat the world on horizontal axis
detectRetina: true, // look nice on high resolution screens
maxZoom: 20,
}),
}
if(oGeneralProperties.worldmap_satellite_tiles_url) {
layers.satellite = L.tileLayer(oGeneralProperties.worldmap_satellite_tiles_url, {
attribution: oGeneralProperties.worldmap_satellite_tiles_attribution,
noWrap: true, // don't repeat the world on horizontal axis
detectRetina: true, // look nice on high resolution screens
maxZoom: 20,
})
}
g_map = L.map('map', {

0 comments on commit 17f8534

Please sign in to comment.
You can’t perform that action at this time.