Hi, this was a great easy to follow tutorial on using leaflet with Shiny. I am particularly interested in placing shapes on maps. Could you please give me a recommendation on this scenario: 1. I have a set of points (latitudes, longitudes) that cover a large area. 2. In this area I will place a small circle with a specified radius. 3. I want to ONLY plot those points that are within that area surrounded by the circle. How would recommend that I determine which points are only within that circle? Any recommendations, hints, comments, suggestions, etc., would be appreciated? Thanks in advance.
@DFK_data2 жыл бұрын
Hi, thanks for watching the video, much appreciated. With regards to your query, perhaps some form of filter would be required on the data either prior to plotting on the map or during the set up of the markers on the map (rstudio.github.io/leaflet/markers.html). Leaflet also has a javascript package and from a quick search on the web it would appear that other may have already tried to tackle this issue - as I have not checked their solution works, I've not posted links as don't want to mislead you. I wish you well with your project.
@gecarter532 жыл бұрын
@@DFK_data thanks for your response and direction. I will research further. Take care.