Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By editing these you could change the groups that display 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.

If you don’t already have one, please follow these steps from Google to acquire one.

Configure Google API Key

To configure your own Google API key, open the Maps.nmis file in /usr/local/opmantek/conf/

Code Block
themeEmacs
vi /usr/local/opmantek/conf/Maps.nmis

Find the following line under 'mapview' =>

'googleApiKey' => 'defaultAPI'

Replace the defaultAPI with your own Google API KEY

eg: 'googleApiKey' => 'AIzaSyBfa5791NQUs3N7x--ueD3DwQPmscElk-8'

Configure Map Types

To configure what map type to display, open the Maps.nmis file in /usr/local/opmantek/conf/

...