MapofLife / MOL

Integrating information about species distributions in an effort to support global understanding of the world's biodiversity.
http://mol.org
BSD 3-Clause "New" or "Revised" License
25 stars 2 forks source link

Click events on gmap control container divs aren't passed through to the map. #107

Closed jmalczyk closed 12 years ago

jmalczyk commented 12 years ago

When a control is placed on the map, regions within the map control div (which often include areas outside the visible MOL control display it contains) catch mouse click and drag events. The expected behavior is a map interaction (drag pan, click query, right click query, etc). When many controls are visible, it makes interacting with the map difficult, especially on a small screen. We need to bring the map events forward, or ignore the gmap control div click events.

jmalczyk commented 12 years ago

Fixed with css pointer-events: none