Hexagon Geospatial
MENU

Mobile Q&A

Mobile and field solutions function as an extension of the overall enterprise, and include the ability to access, create, review and update geospatial data and asset information in real-time in the field.
Showing results for 
Search instead for 
Do you mean 

How to enable Mobile MapWorks app to zoom in beyond the tile size for OpenStreetMap (OSM) layer?

by fmak ‎02-26-2016 01:51 PM - edited ‎03-28-2016 03:06 PM (1,228 Views)

Question

How to enable Mobile MapWorks app to zoom in beyond the tile size for OpenStreetMap (OSM) layer?

Answer

In versions of Mobile MapWorks application prior to 15.1 it is not possible to 'zoom in' to the map display beyond the OSM tile size when OpenStreetMap is displayed as a base layer. This limitation was removed in Mobile MapWorks 15.1, but the Mobile MapWorks configuration file must be modified to enable this capability.

To enable the Mobile MapWorks app to zoom in beyond the OSM tile size a new tag named 'isMagnified' must be added to the <source> section for the OSM basemap layer in the configuration file.  The 'isMagnified' tag contains a Boolean value that indicates if additional magnification of Open Street Map lowest level should be enabled. If set to 'true' then Open Street Map lowest level tiles are magnified. This allows for additional zoom in. The default value is set to 'false'.

 

An example of the configuration file syntax defining OSM as a base layer with the isMagnified attribute set to ‘true’ is shown below:

 

<source isMagnified="true" isBaseLayer="true">
     <name>OpenStreetMaps</name>
     <type>OSM</type>
</source>


 

 

Comments
by
on ‎05-27-2017 03:25 AM

How can this be achieved in Mobile MapWorks Advantage?

Contributors