Disable zoom on scroll using mashup
-
We have a wide Google map on our site and users trying to scroll down the page using a scroll wheel or scroll swiping on a tablet or phone end up zooming the map and cannot move down the page.
1. is it possible to disable zooming on scroll?
2. let them zoom using regular double click or zooming?This is the current code using the “‘scrollwheel’ => false” argument which we can’t get to work. Thanks for the plugin!
if ( function_exists( 'pronamic_google_maps_mashup' ) ) { pronamic_google_maps_mashup( array( 'post_type' => 'city' ), array( 'width' => '100%', 'height' => 600, 'map_type_id' => 'terrain', 'navigationControl' => false, 'scrollwheel' => false, 'mapTypeControl' => false, 'scrollwheel' => false, 'marker_options' => array( 'icon' => get_template_directory_uri(). '/images/marker.png' ) ) ); }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Disable zoom on scroll using mashup’ is closed to new replies.