02-23-2016 09:12 PM
The default scale limit appears to be set to approx 1:2000.
Is there a way to change the limit so that users can zoom further in?
02-24-2016 06:29 AM
Thank you for your post. This is a known technical issue/limit currently that is being addressed. The same thing can be seen in the M.App Chest preview window. Specifically can you provide some specifics on zoom level requirements that I can provide as feedback for our team.
02-25-2016 09:01 AM
It seems there are limitation on two sides.
02-01-2017 08:58 AM - edited 02-10-2017 08:00 AM
Hello guys,
Is there any update on this topic?
I'm facing the same issue at the moment.
I'm using OSM (mundialis services http://ows.mundialis.de/services/service?) as basemap.
In GeoMedia i'm able to zoom in pass 1:100.
Even without the osm basemap i can't zoom enough.
Kind regards
Elodie
02-13-2017 07:10 AM
The limit is probably set on the Leaflet map layer. To change the restriction use this code (thanks Piotr ):
mainContext.switchingMapViewerAdapter.getMapAdapter().then(function(mapAdapter) { mapAdapter.getMap().options.maxZoom = 25; });
Jan
03-18-2018 12:23 PM
Hi everybody,
is there also a way to set the initial map zoom? I tried this but the appearance of the initial map didn't change:
var map;
mainContext.switchingMapViewerAdapter.getMapAdapter().then(function(adapter){ map=adapter.getMap(); map.options.maxZoom = 25; map.options.zoom=23; console.log(map); });
I'm not sure where I have to place the code because I guess I need to put it somewhere before the map instance is created?
When I log the map object the properties are set correctly and changing the maxZoom property also works fine.
Marisa
03-18-2018 04:50 PM
This solved the problem:
map.setView(L.latLng(21.1, 92.1),14,24);
10-22-2019 03:37 AM
Hi ,
Where you put this code ? Thanks !
map.setView(L.latLng(21.1, 92.1),14,24);
10-22-2019 03:44 AM
In the browser App configuration, switch to customization and choose JS part on the top-right corner:
https://hexagongeospatial.fluidtopics.net/reader/K4ZTIoSZrNXW5_NC_qTp_w/aHFP6epxvdlGzsE72t8dsA
10-22-2019 04:00 AM
Thank you Jan, Its work for me.
mainContext.switchingMapViewerAdapter.getMapAdapter().then(function(mapAdapter) { mapAdapter.getMap().options.maxZoom = 25; });