Organisation: PublicLab (publiclab.org)
Link to all the commits I have made:
This project is an extension of last year's GSoC project. In this summer I have added various new functionalities to the existing leaflet-blurred-location library and created another library to display locations saved by leaflet-blurred-location in a tricky way so that no information is leaked without the user's permission. This project involved refactoring of the existing code and adding CodeClimate to the repository as well. New UI tools were also added to leaflet-blurred-location along with resolving some previous bugs as well.
For leaflet-blurred-location-display, almost the whole repository was set up and integrated with leaflet-blurred-location to provide a demo. The demo for leaflet-blurred-location-display is live with all the features of leaflet-blurred-location as well.
|currPrecision||To set the current precision for extraction from the map||`options.currPrecision = 2`|
|list (testing)||To input all the locations saved on the map along with a pop up text||`options.locations = [[35.3, 39.2, "Popup Text"],[35.3554, 39.2623, "Popup Text"]]`|
|currBoxUpperLeft||To set location of upper left corner of selected square||`options.currBoxUpperLeft = [35.35, 39.26]`|
||Used to get the locations fit to display according to given map parameters.||
||Used to show a pop up for all the locations fit to be displayed. The pop up text will be mentioned in the input itself||
|'Blurred' location display||Your exact location won't be posted, only the grid square it falls within will be shown till the level of precision you have set to your location.|
|'Blurred' human-readable location display||The name of the location you added will be displayed till the level of precision you set as the extent of address depends on the precision level you currently are on. For instance for precision 0 only the country name will be provided as you zoom in precision will increase and so will the address details, such as state, city, etc.|