In order to use OpenStreetMap, you need to point geomap against a tile server. This could be hosted by yourself, or you can choose from a list of open tile servers. This server goes into the "localMapsUrl" value.
This can be configured in the web UI, or manually by editing the settings file:
/opt/monitor/op5/ninja/application/config/geomap/settings.xml
The localMapsUrl must not end with a slash, this will cause the map render to fail.
Example:
<?xml version="1.0" standalone="yes"?>
<settings defaultLocationAction="nagios:" localMapsUrl="https://maps.wikimedia.org/osm-intl" openLinksInNewWindow="1" provider="local" updateInterval="400" version="2.0"/>
Write the settings file and reload the geomap page. There is no need to restart anything.
Comments
0 comments
Please sign in to leave a comment.