• Hello there,

    I am trying to zoom out a bit on my google map generated by ACF. I changed zoom’s value in the object “args” from the default 16 to all sorts of numbers but that changes nothing.

    function render_map( $el ) {
    		// var
    		var $markers = $el.find('.marker');
    
    		// vars
    		var args = {
    			zoom		: 9,
    			center		: new google.maps.LatLng(0, 0),
    			mapTypeId	: google.maps.MapTypeId.ROADMAP
    	};

    How can I change the zoom on my map?

    https://wordpress.org/plugins/advanced-custom-fields/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘I can't change the zoom on my Google Map’ is closed to new replies.