I do not have time to really look into it right now, especially since I am setting up my own website step by step, learning html on the way and I certainly never tried to embed anything in it until now.
However, I was wondering if you considered using uMap? The 2nd and 3rd feature should be ok and I think it is also conform with FP’s ideology being based on OSM, for the first one I can’t tell you but the following is stated on the above mentioned website:
An instance of it lets you create a map with OpenStreetMap layers in a minute and embed them in your site.
Edit: It seems that the Discourse instance of the Fairphone Forum doesn’t support iframes. According to this page, “iframe code is whitelisted in Discourse itself since v1.1.1.”, and our version is beyond that.
Contributions can be done with pull requests, editing a flat file with addresses (i.e. JSON file) in the GitHub web interface (avoiding git manipulation at all, and enabling a review process at the same time)
PS.: In order to keep everything connected to the forum, I’d say that people can only add their Fairphoners community to the map after adding it to the Local Fairphoners Address Book, providing a link to that address book entry.
Paste this code into the command line: var whiteListIframe = require('pretty-text/sanitizer').whiteListIframe; whiteListIframe(/^(https?:)?\/\/wearefairphone\.github\.io\/fprsmap/i);. Hit ↵. (Reference)
Paste the embed code into a new forum post and observe the map in the preview window! (Fullscreen doesn’t work there… )