WeAreFairphone / fprsmap

This is a Leaflet map of the local Fairphoners communities
https://map.fairphone.community
GNU General Public License v3.0
10 stars 7 forks source link

GUI for entering local Fairphoners communities #7

Closed StefanBrand closed 7 years ago

StefanBrand commented 8 years ago

Have a :heavy_plus_sign: button and a popup where people can add new Fairphone communities to the map. (Would be best in conjunction with #4 reverse geocoding.)

Roboe commented 8 years ago

I've been thinking about proper and easy solutions to this. There's a solution involving an <iframe>, but I don't know what kind of control we would have over the interaction flow ocurring inside the said <iframe>. Also, it should be as easy as possible for non-developers, and we have technical limitations (i.e. all our code is frontend; no backend is involved).

Anyway, we should implement #8 before that. Let me chew it a bit more meanwhile.

StefanBrand commented 7 years ago

This will be obsolete as very probably Fairphone will provide a database on their website, where people can add data. We will be able to fetch that data and it will go online immediately.

Roboe commented 7 years ago

Woa! That' be awesome and solve the collaboration issue! :D

StefanBrand commented 7 years ago

Exactly! Maybe you have some comments on how to implement this in the best way? Using some kind of SQL?

Roboe commented 7 years ago

No suggestion at all on the backend implementation (the map is implementation-agnostic). We just need them to expose a public endpoint (i.e. no auth required) for each layer markers with JSON data and CORS enabled, :dancer: