movestore / leaflet_mapper

0 stars 3 forks source link

display attributes on point click #9

Open sarahcd opened 4 months ago

sarahcd commented 4 months ago

If you click on a point on the map, the timestamp is displayed but no other information.

image

1) Ideally the trackID and lat/lon would also display.

2) It could be nice to have a setting where the user enters a list of other attributes to include when they click on the point. This would allow interactive viewing of other info including output of previous apps.

andreakoelzsch commented 4 months ago

@sarahcd thanks sarah, will try to find out how to do those. The pop-up feature was added by a volunteer ;)

sarahcd commented 4 months ago

It looks like popupTable from mapview. Here's a tutorial: https://r-spatial.github.io/mapview/articles/mapview_04-popups.html

I used this to make popups for the interactive map of the Room2Roam archive so could share that code.