地图v3 onclick Android不起作用
有人能告诉我为什么这对android不起作用?
在iPhone(Safari)OSX(safari,chrome)中工作正常, 但在Android(webView)中没有处理程序点击:/
// lot of code $(".btnCenter").on('click', function(e) { e.preventDefault(); map.setZoom(19); map.setCenter(marker.getPosition()); }); $(".btnAll").on('click', function(e) { e.preventDefault(); var bounds = new google.maps.LatLngBounds(); bounds.extend(marker.getPosition()); bounds.extend(start); bounds.extend(end); mapd.fitBounds(bounds); });
谢谢