JasonSanford / leaflet-vector-layers

A little help to viewing ArcGIS Server, Geocommons, Arc2Earth, CartoDB, GIS Cloud, etc. vector data in a Leaflet map
http://jasonsanford.github.io/leaflet-vector-layers
BSD 2-Clause "Simplified" License
216 stars 61 forks source link

Additional click option #11

Open JasonSanford opened 12 years ago

JasonSanford commented 12 years ago

A click currently triggers a Popup if there is a popupTemplate set. There should be another click option that would get fired when a feature is clicked.

Not sure what to pass to the function. The click event, the vector (marker, Polyline, Polygon), feature properties?

/cc @bmcbride