Public Lab Research note


Demo for leaflet-blurred-location

by mridulnagpal | August 02, 2017 03:05 | 211 views | 9 comments | #14705 | 211 views | 9 comments | #14705 02 Aug 03:05

Read more: publiclab.org/n/14705


This library will be used to geo-tag the research notes, it comes with a co-ordinated graticule which would help to find events happening nearby. There are several functions associated with this library, all of them can be found in the docs. I am posting a screenshot of the working library here and will give the link too. All the input listeners are integrated with the leaflet map, so feel free to play around. Any form of feedback would be well appreciated.

The link for the current repo is: https://github.com/publiclab/leaflet-blurred-location

The working demo can be found at: https://publiclab.github.io/leaflet-blurred-location/examples/

The documentation can be found here: https://github.com/publiclab/leaflet-blurred-location/blob/master/README.md


9 Comments

Very exciting @mridulnagpal !!!

Reply to this comment...


This demo is amazing! I just "test drove" it.

The auto-updating readout of the text description of the place is amazing, at least around my neighborhood in brooklyn. I like that it prints a selection of street names with the result that it sounds general: "Williamsburg Bridge & Havemeyer St & S 5th St, Brooklyn, NY 11211, USA". I see that on most other quadrants over Brooklyn it prints out an actual street address, such as "20 Mauer Street". When we're working with the checkbox checked for "blur my location", is there a way to not print an exact building number?


I noticed that the map can be zoomed in quite far. This is an amazing feature that also makes me wonder if the precision of saved coordinates depends on the zoom level, and if so, will people understand that it is their choice of where the map is zoomed that will set the level of precision VS blurring?


I am really impressed with everything you have done here!!!! Thank you so much.

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


This is sooo great! I'm really impressed. Thanks for sharing the demo.

Reply to this comment...


@liz There is an issue posted which I am working on currently which would show the location according to the precision set, for example when you are zoomed out and precision is 0, the text box will only show the country name and as we zoom in the state, city, etc. will be displayed. Here's the link for the issue https://github.com/publiclab/leaflet-blurred-location/issues/63. Feel free to have a look :)

Reply to this comment...


@stevie Thanks alot

Reply to this comment...


Re: Liz's 2nd question, what if we had a very brief text label in the example form that said, perhaps:

Your exact location won't be posted, only the grid square it falls within will be shown. Zoom out to make it harder to tell exactly where your location is. Read more about this privacy system

What do you think?

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


Made an issue for that last one!

Reply to this comment...


@mridulnagpal - did you see my comment? I think we're close to a followup demo!

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


@warren got it, also looked at the issue working on it!

Reply to this comment...


Login to comment.

Public Lab is open for anyone and will always be free. By signing up you'll join a diverse group of community researchers and tap into a lot of grassroots expertise.

Sign up