CloudMade/Leaflet — Issue #336: Links in a L.Popup can't be activated in iPhone browser
Author: rabbitrun84
Created: 2011-10-17 08:35:59+00:00
State: open

We need to attach a link to the popup of a marker, so that we can open another page that shows the detail information about the marker by clicking the link. Our code looks as follow:

var marker = new L.Marker(latlng);
marker.bindPopup("" + markerName + "");
map.addLayer(marker);

This code works well in Safari and Chrome, but it fails in iPhone browser. Nothing happened after I clicked the link in the popup.