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

    (@moonheart)

    Hello,

    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.

    Thanks,
    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]);
    			bounds.extend(position);
    			var markerOptions = {
    				position: position,
    				map: map,
    				animation: google.maps.Animation.DROP
    			}
    			marker = new google.maps.Marker(markerOptions);
    			markers.push(marker);
    			map.fitBounds(bounds);
    			map.setZoom(16);
        		map.panToBounds(bounds);

    Add this line of code to @line86

    map.setZoom(16);

    Best regards,
    Good plugin but need some improvements.

    Thread Starter Yukon Cornelius

    (@jimmmy)

    this is great. thanks for your help!

    Thread Starter Yukon Cornelius

    (@jimmmy)

    @wpkod.com don’t suppose you know how to disable scrollwheel…?

    Thread Starter Yukon Cornelius

    (@jimmmy)

    i answered this here. thx

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