diff options
-rw-r--r-- | sdnr/wt/odlux/apps/networkMapApp/src/components/map.tsx | 1 | ||||
-rw-r--r-- | sdnr/wt/odlux/apps/networkMapApp/src/config.ts | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sdnr/wt/odlux/apps/networkMapApp/src/components/map.tsx b/sdnr/wt/odlux/apps/networkMapApp/src/components/map.tsx index 1bc2ed49a..b6e1d9cd6 100644 --- a/sdnr/wt/odlux/apps/networkMapApp/src/components/map.tsx +++ b/sdnr/wt/odlux/apps/networkMapApp/src/components/map.tsx @@ -111,6 +111,7 @@ class Map extends React.Component<mapProps, { isPopupOpen: boolean }> { map.on('load', (ev) => { + map.setMaxZoom(18); addBaseSources(map, this.props.selectedSite, this.props.selectedLink); addImages(map, (result: boolean)=>{ diff --git a/sdnr/wt/odlux/apps/networkMapApp/src/config.ts b/sdnr/wt/odlux/apps/networkMapApp/src/config.ts index e2e5718d5..a85259d47 100644 --- a/sdnr/wt/odlux/apps/networkMapApp/src/config.ts +++ b/sdnr/wt/odlux/apps/networkMapApp/src/config.ts @@ -38,8 +38,8 @@ export const OSM_STYLE = { 'id': 'simple-tiles', 'type': 'raster', 'source': 'raster-tiles', - 'minzoom': 0, - 'maxzoom': 18 + 'minZoom': 0, + 'maxZoom': 18 } ] }; |