Open GoogleCodeExporter opened 9 years ago
I have same problem, I couldn't able to disable mouse scroll over map.
Please revert back with the solution.
Code:
$('#map_canvas').gmap().bind('init', function(ev, map) {
jQuery('#map_canvas').gmap('option', 'scrollwheel', false);
jQuery.each( jsonobj, function(key, obj) {
$('#map_canvas').gmap('addMarker', {'icon': {url: '<%=request.getContextPath()%>/resources/make/images/icon.png'},'position': obj.latLong,'bounds': true}).click(function() {
$('#map_canvas').gmap('openInfoWindow', {'content': obj.content}, this);
});
Original comment by aleem.btech@gmail.com
on 10 Jun 2014 at 7:02
Original issue reported on code.google.com by
madalint...@gmail.com
on 6 Sep 2013 at 3:17