Tag Archives: lock map

How to lock google maps in one specific fixed location ?

By default map center is calculated based on center of all properties available on map.

You can also change zoom, this way: http://iwinter.com.hr/support/?p=166

If you want fixed location based on address:

Admin->Settings->Company contact->Check “Use as map center”->Save

If you want fixed location with additional configuration, you can do following:

If you want lock map to specify location, in ‘application/config/cms_config.php’ add line

$config['custom_map_center'] = '27.175015, 78.042155';

Where numbers represents GPS coordinates.

From new script version config can be also configured in template config file:

templates\{your-template}\config\template_config.php