sghaskell / maps-plus

Maps+ for Splunk
Other
18 stars 3 forks source link

enhancement: Select markers on map and return token for use in dashboard #23

Open gardeynet opened 4 years ago

gardeynet commented 4 years ago

I would like to be able to select areas on the map and return the markers within it as a token to use in a splunk table panel in the same dashboard. I have played around with leaflet and turf's points within method to come up with a geojson list of points that are within a polygon, that would need to be parsed and passed to splunk as a token.

Here is what I have written so far https://gardey.net/maps.html I'm happy to help if required

sghaskell commented 4 years ago

Hi @gardeynet . Thanks for submitting the feature request. This a great idea! I've looked at turf.js in the past and wanted to implement something similar. Cool idea for using the points within as tokens. I use leaflet-measure in Maps+ so that would need to be extended. Happy to collaborate on this further.

gardeynet commented 4 years ago

Thanks for considering it and please keep in touch, thanks for the email back