...
By editing these you could change the groups that displays on different maps.
Getting a Google API Key
opMaps ships with a default Google API Key, It is recommended to use your own Google API Key.
...
To configure your own Google API key, open the Maps.nmis file in /usr/local/opmantek/conf/
Code Block | ||
---|---|---|
| ||
vi /usr/local/opmantek/conf/Maps.nmis |
...
Find the following line
'googleApiKey' => 'defaultAPI'
...
Code Block | ||
---|---|---|
| ||
vi /usr/local/opmantek/conf/Maps.nmis |
...
Find the following line under 'mapview' =>
...
Code Block | ||
---|---|---|
| ||
vi /usr/local/opmantek/conf/Maps.nmis |
Find the following lines under 'mapview' =>
'mapCentre' => 'X, Y',
'mapZoom' => 'zoomLevel'
Replace the X,Y and zoomLevel with the value you want.
...
Code Block | ||
---|---|---|
| ||
vi /usr/local/opmantek/conf/Maps.nmis |
...
Find the following lines under 'group' =>,
...