Closed jywarren closed 5 years ago
Follow-up from #17 !!!
Adding these here :
place
get a full-width map across the top of the page (instead of in the sidebar), as we're trying to do in this page (but truly edge-to-edge and right up against the top menubar): https://publiclab.org/wiki/puerto-rico (This could feature LEL as well.) [https://github.com/publiclab/plots2/pull/5518]place:new-york-city
(for example). [https://github.com/publiclab/plots2/pull/5518]Okay so all the above issues are solved in these PR's 😄 :
https://github.com/publiclab/leaflet-blurred-location-display/pull/65
https://github.com/publiclab/leaflet-blurred-location-display/pull/69
https://github.com/publiclab/leaflet-blurred-location/pull/195
⭐️ ⭐️ ⭐️ ⭐️ ⭐️ ⭐️ ⭐️ ⭐️ ⭐️ ⭐️ ⭐️ ⭐️
Awesome, let's close this then!
Just collecting some here!!! 👍
Progress to date is really tremendous, @sagarpreet-chadha! You've done an incredible job. I'm now giving it a fresh look, and thinking about what could come next. Would love your thoughts on these!!!
Color code the markers on the map according to the precision.
-- actually this was just to demonstrate the principle in the demo; we could keep it as a feature but I had imagined not being a default behavior. What do you think, @sagarpreet-chadha ?First, you need to make some blurred locations. Let's create 3 of them and add them to the map.
and then show how to create three and add them in as short a code segment as possible. One thing I'm wondering is how theoptions_display
is passed into the constructor and we could show that more clearly in the "Basic" section!Possible changes
options.locations
auto-generate the BlurredLocations? Why do we make only oneblurredLocation
? It kind of seems like we should make one for each coordinate pair, using this syntax?locations_markers_array
- maybe we should rename thisgetVisibleLocations()
?SourceUrl_markers_array
is this the same as above but for remote locations? What if we instead just added a property to each location likesource: 'remote'
and then only used the abovegetVisibleLocations();
method instead of having 2?getMarkersOfPrecision
likewise return just 1 array?precision
by referencing the chart in https://github.com/publiclab/leaflet-blurred-location#human-readable-blurring ?{ min: 0, max: 11 }
intogetMarkersOfPrecision()
-- we don't have to implement it, but it'd be a nice next step later.OK, this is a lot! But it's so exciting to have come this far!!!