problem starting mobile atlas
Brought to you by:
r_x
Version: Mobile Atlas Creator (MOBAC) 2.3.3 (2759)
Platform: Windows 11 (10.0)
Java VM: Eclipse Adoptium OpenJDK 64-Bit Server VM (17.0.13+11)
Max heap size: 2014.00 MiB
CPU cores: 4
Thread: AWT-EventQueue-0
Error hierarchy:
RuntimeException: Maximum zoom level too high
#############################################################
java.lang.RuntimeException: Maximum zoom level too high
at mobac.gui.mapview.JMapViewer.setMapSource(JMapViewer.java:513)
at mobac.gui.mapview.PreviewMap.setMapSource(PreviewMap.java:140)
at mobac.gui.mapview.PreviewMap.setMapSource(PreviewMap.java:132)
at mobac.gui.mapview.PreviewMap.settingsLoad(PreviewMap.java:122)
at mobac.gui.MainGUI.loadSettings(MainGUI.java:846)
at mobac.gui.MainGUI.<init>(MainGUI.java:266)
at mobac.gui.MainGUI.createMainGui(MainGUI.java:283)
at mobac.Main$1.run(Main.java:78)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at mobac.utilities.GUIExceptionHandler$EventQueueProxy.dispatchEvent(GUIExceptionHandler.java:410)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
#############################################################
As a workaround you can manually load
settings.xmlinto a text editor and decrease the<mapviewZoom>value.Thanks, manually decreased the <mapviewzoom></mapviewzoom>
Last edit: r_x 2025-01-18
I just checked the sources. This error "Maximum zoom level too high" is thrown, when you try to load a map source with
maxZoomlarger than 22.Therefore this is an error of the map source you are trying to load.