CloudMade/Leaflet — Issue #485: Pinching to zoom in/out on iPhone triggers clicks on map
Author: JasonSanford
Created: 2012-02-14 17:05:58+00:00
State: open

I've noticed recently that pinching the map on an iPhone (haven't tested on Android) triggers mouse click events.

I created a test page (http://bit.ly/leaflet_mobile) to show what happens. I've attached a map click event that should add a marker when the map gets "clicked" even though a user might have only "pinched".

Also, I'm noticing that click the zoom in/out buttons also trigger map click events. I can open another issue for this if it seems appropriate