setZoom Not Working Anymore
-
After updating to Version 5.9.3 it seems like the Google map zoom is not working. Here is an example of what I am using on a location page to show a map:
<script> jQuery(document).bind('em_maps_locations_hook', function( e, map, infowindow, marker ) { google.maps.event.addListenerOnce(map, 'bounds_changed', function(event) { if (this.getZoom()) { this.setZoom(15); } }); }); </script>
The Zoom works, but it seems to default to the lowest level and you need to zoom out to see properly.
Any direction would be appreciated…thanks!
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘setZoom Not Working Anymore’ is closed to new replies.