Google has exposed an option for this. See clickableIcons
of google.maps.MapOptions
in the docs.
Example initialization code:
map = new google.maps.Map(document.getElementById('map'), {
clickableIcons: false
});
More Related Contents:
- Google Maps API 3 – Custom marker color for default (dot) marker
- close InfoWindow before open another
- How to to Get Places (e.g Gas Stations) along Route Between Origin and Destination in Google Maps API
- Using Icon Fonts as Markers in Google Maps V3
- Google Maps single country boundary [closed]
- Google Places API – REQUEST_DENIED
- Retrieve latitude and longitude of a draggable pin via Google Maps API V3
- Change marker size in Google maps V3
- Trigger event with infoWindow or InfoBox on click Google Map API V3
- Google has started highlighting search areas in Pink color. Is this feature available in Google Maps API 3?
- How to get a click event when a user clicks a (business) place on the map
- ‘item.geometry.location.kb’ and ‘item.geometry.location.jb’ returning undefined
- click event listener on styled map icons and labels
- Leaflet Map API with Google Satellite Layer [duplicate]
- Correct redirect URI for Google API and OAuth 2.0
- To get more than 5 reviews from google places API
- Highlighting borders of state and cities of US in Google Map API 3
- The key provided is not a valid Google API Key
- Directions API overview_polyline doesn’t have correct points
- Sending a details request to Google Places API – (CORS error) [duplicate]
- Calculate distance between two points in google maps V3
- Rotating image / marker image on Google map V3
- Get latitude and longitude automatically using php, API
- MySQL select coordinates within range
- Maximum Lat and Long bounds for the world – Google Maps API LatLngBounds()
- Google Maps click event on route
- Is there a way to Fix a Google Maps Marker to the Center of its Map always?
- Google Maps API Polygon with “Hole” In Center
- Google Maps API v3 Highlight Country Border without using Polygons
- Using Longitude/Latitude as Waypoint