Richard Richard - 1 year ago 73
Javascript Question

Display PNG over Google Maps without creating dead spot?

I'm overlaying a (mostly transparent) PNG on Google Maps using CSS, but it's creating a large dead spot on the map where the user can't drag the map.

Could anyone suggest how to get round this?

The obvious solution would be to use a marker overlay, but I can't do this - see Keep Google Maps marker in centre of map while dragged?


Answer Source

Try adding pointer-events:none; to the CSS for the overlay image, and see if this allows you to click through the image to the map. I tested this in Mozilla Firefox 6. You can click through the semi-transparent image and select the text:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download