...
Code Block | ||
---|---|---|
| ||
cd /usr/local tar xvf ~/opMaps-Linux-x86_64-<version>.tar.gz cd opmantek/ cp install/Maps.nmis conf/ cp install/opCommon.nmis conf/ bin/opfixperms.pl cp install/01opmantek.conf /etc/httpd/conf.d/ service httpd restart |
Getting a Google API Key
opMaps requires a 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 | ||
---|---|---|
| ||
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'
Alternate Installation Directory
...