Support » Plugin: Gwebpro Store Locator » Map Zoom

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jas Saran



    Specific zoom level for locations are not available in this plugin. If you want a customized version of this plugin, Please mail us in our support with your specification.

    Team G Web Pro

    Hi Yukon,

    To change general zoom level, edit gwebpro-store-locator-frontend.php

    function initialize(lat,long)
    		var latlng = new google.maps.LatLng(lat,long);
    		var myOptions = {
    			zoom: 13,

    You can set your general zoom level @line41

    BUT to change the zoom level at the result map view, you have to add a line of code to gwebpro-store-locator-frontend.php file.

    function placeStores(stores)
    		for (i = 0; i < stores.length; i++) {
    			var position = new google.maps.LatLng(stores[i][0], stores[i][1]);
    			var markerOptions = {
    				position: position,
    				map: map,
    				animation: google.maps.Animation.DROP
    			marker = new google.maps.Marker(markerOptions);

    Add this line of code to @line86


    Best regards,
    Good plugin but need some improvements.

    this is great. thanks for your help! don’t suppose you know how to disable scrollwheel…?

    i answered this here. thx

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Map Zoom’ is closed to new replies.