dynmeth / RaphaelLayer

Raphael overlay for Leaflet maps
MIT License
80 stars 25 forks source link

Marker cannot bind with Popup #9

Open xkoo opened 11 years ago

xkoo commented 11 years ago

Hi,

I've been using your plugin with Leaflet. I love your work, but it could be better if markers can bind with Popup. I tried to bind the Popup like this:

var point = new L.LatLng(-34.93027490891421, 138.603875041008); var marker = new R.Marker(point, {'fill':'red','stroke':'blue'}); m.bindPopup("Hello").openPopup();

But it doesn't work. Hope this issue could be solved

Thank you