mattmakesmaps / PntTrax

A simple web application to import, store, and retrieve field collected data.
0 stars 3 forks source link

Add onclick event to table rows #36

Closed mattmakesmaps closed 11 years ago

mattmakesmaps commented 11 years ago

Need to add id that can be reconciled between the table and the map.

An example of the onclick event which opens a popup bound to that particular map layer (a point feature in this case).

map._layers['30'].fireEvent('click')

OR

pointGeoJSON._layers['27'].openPopup()
mattmakesmaps commented 11 years ago

Grab an ID from a particular leaflet layer

pointGeoJSON._layers['27'].feature.id