Open jywarren opened 6 years ago
@jywarren Like a pop-up right? For getting list of all points in that region.
@publiclab/soc @jywarren How do I get all points between 4 lat,lng points using the API, or till what radius are the points fetched from the center lat,lng?
Maybe this is a question for @milaaraujo @stefannibrasil ? I think we can search for people and nodes in a bounding box in the API... or maybe we need to add this?
hi, everyone!
we would need to add that, right now it is only getting the nodes near the given coordinates (lat and lon points):
I am not really sure how the radius is calculated there :thinking:
I am not sure why the code snippet isn't working, but there you can see that it only show the nearby nodes given a pair of coordinates... all of this to say that we can work on that in the next weeks!
@stefannibrasil @jywarren Sounds good as soon as the radius is known we can work on getting all the nodes inside a box.
OK, great! I also made a gh-pages at https://publiclab.github.io/leaflet-blurred-location-display/examples/index.html although it may take a little while to show up
There we go!
@jywarren Is the API done?
No, but just as you've added example locations, you can add ones that specify precision, and develop this display around the example data, don't you think?
On Fri, Aug 3, 2018 at 7:25 AM Mridul Nagpal notifications@github.com wrote:
@jywarren https://github.com/jywarren Is the API done?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/leaflet-blurred-location-display/issues/10#issuecomment-410224982, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJ_GBeyCA-b_tiR4EC0WzrEWBQwf0ks5uNDL3gaJpZM4VUkJy .
@jywarren Got it, working on it!
Breaking out an issue to develop ways to show multiple data points that have been blurred as a kind of "heat map" or chloropleth?
https://deutchland.maps.luftdaten.info/#4/35.03/5.40 does this in Leaflet, although with a hex grid...
There are for sure Leaflet chloropleth map plugins out there!
This is really cool 😄 . Will start work on this tomorrow 👍 !
When showing "shaded regions" clicking in a shaded region could pop up a list of the points within that region?
Perhaps as a break-out, shaded regions could be darker if there are more points within?