...
Code Block | ||
---|---|---|
| ||
cd /usr/local/opmantek/bin/ ./configmaps.pl /usr/local/nmis8/conf/Nodes.nmis /usr/local/opmantek/conf/GroupLocations.nmis |
Creating the Map File
After creating GroupLocations.nmis, you may edit the file in the directory /usr/local/opmantek/conf/
Code Block |
---|
vi /usr/local/opmantek/conf/GroupLocations.nmis |
The following text is an example of what a GroupLocations.nmis file might look like
Code Block |
---|
%hash = (
'NMIS8' => {
'Customer' => 'Opmantek',
'Location' => 'Bundall, Queensland',
'Group' => 'NMIS8'
}
); |
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'
...
To configure what map type to display, open the Maps.nmis file in /usr/local/opmantek/conf/
Code Block | ||
---|---|---|
| ||
vi /usr/local/opmantek/conf/Maps.nmis |
Find the following line under 'mapview' =>
...
To configure the default centres and zoom levels, open the Maps.nmis file in /usr/local/opmantek/conf/
Code Block | ||
---|---|---|
| ||
vi /usr/local/opmantek/conf/Maps.nmis |
Find the following lines under 'mapview' =>
...
To configure the default centres and zoom levels, open the Maps.nmis file in /usr/local/opmantek/conf/
Code Block | ||
---|---|---|
| ||
vi /usr/local/opmantek/conf/Maps.nmis |
Find the following lines under 'group' =>,
...