stamen / modestmaps-js

Modest Maps javascript port
http://modestmaps.com
566 stars 152 forks source link

Double-click to zoom should only zoom when map was the target #48

Closed kkaefer closed 12 years ago

kkaefer commented 13 years ago

When double-clicking on a item that overlays the map, the map zooms in even though it wasn't the /actual/ target. The same is true for the scroll wheel. Zooming should only happen when the target was the map itself.

tmcw commented 12 years ago

This is likely for elements are placed within map.parent, though, right?

tmcw commented 12 years ago

I don't think this is the approach we're going to take: overlayed elements should stop their events from propagating - the map is no longer going to sort through events.