Configuring Maximo Anywhere



Download 1.16 Mb.
View original pdf
Page55/73
Date16.12.2020
Size1.16 Mb.
#54492
1   ...   51   52   53   54   55   56   57   58   ...   73
pdf si mpl configure
Configuring zoom levels
When the map view is enabled, you can control the zoom level of the online maps.
You can configure zoom levels by using the Anywhere Administration application if it is enabled.
About this task
To change the zoom level, you edit the worklight.properties file in the
Anywhere\MaximoAnywhere\server\conf folder. The default value is The default value, 19, is valid for the default URL for the Esri online maps that are configured in the app.xml file:
providerUrl="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/
MapServer/tile/{z}/{y}/{x}"
Configuring Maximo Anywhere
33

The app.xml file is in the following directory Anywhere\MaximoAnywhere\apps\
app_name\artifact
Other URLs have different valid zoom levels. In the default URL, the type of map is specified, in this case World_Topo_Map. If you want to use a different map type,
change the type of map in the URL. For example, to see ocean basemaps, change the URL to specify Ocean_Basemap:
http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer/
tile/{z}/{y}/{x}
If you have other types of maps that are defined on your server, change the first part of the URL, using the pattern tile/{z}/{y}/{x}, for example:
http://myownserver.com/myUrlForBaseMaps/myBaseMapType/tile/{z}/{y}/{x}
Procedure
1.
In the worklight.properties file, edit the si.map.openLayers.maxZoom property to change the zoom level for the online maps.
2.
Build and deploy the application.

Download 1.16 Mb.

Share with your friends:
1   ...   51   52   53   54   55   56   57   58   ...   73




The database is protected by copyright ©ininet.org 2024
send message

    Main page