Versions Compared

Key

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

...

'googleApiKey' => 'defaultAPI'

Replace the defaultAPI with your own Google API KEY

eg: 'googleApiJsBase' => 'http://maps.googleapis.com/maps/api/js?sensor=false'

Configure Map Types

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

Find the following line under 'mapview' => 

'mapTypeId' => 'mapType', 

Replace the mapType with the map type you want.

eg: 'mapTypeId' => 'google.maps.MapTypeId.TERRAIN'

The Follow map types can be used

...

Find the following lines under 'mapview' =>

    'mapCentre' => 'X, Y',    
'mapZoom' => 'zoomLevel',    

  Replace the X,Y and zoomLevel with the value you want.

eg :

         'mapCentre' => '10, -180',

    'mapZoom' => '3',

Configure Centres and Zoom Levels for Different Maps

...