aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/networkMapApp/src/components
diff options
context:
space:
mode:
authorAijana Schumann <aijana.schumann@highstreet-technologies.com>2020-12-01 10:56:31 +0100
committerAijana Schumann <aijana.schumann@highstreet-technologies.com>2020-12-01 10:56:31 +0100
commite52eb5a37e107b49f0660fd22d9dcc1341a289bd (patch)
treede6a33edda58201da548ff23662f16064f81f180 /sdnr/wt/odlux/apps/networkMapApp/src/components
parent640c4e96c0ea3bff8932436ab8227c89912b72f9 (diff)
NetworkMap bugfix
Fix networkmap zooming in further than expected Issue-ID: CCSDK-2906 Signed-off-by: Aijana Schumann <aijana.schumann@highstreet-technologies.com> Change-Id: I5e8c5a484705538722ad364619e605cf0c5a2c30
Diffstat (limited to 'sdnr/wt/odlux/apps/networkMapApp/src/components')
-rw-r--r--sdnr/wt/odlux/apps/networkMapApp/src/components/map.tsx1
1 files changed, 1 insertions, 0 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)=>{