Experimentation with map
Posted by mholmes on 21 Nov 2014 in Activity log
It looks like it's going to be most effective to create our locations as features on layers, rather than to push complete SVG layers out onto the map directly. I've been playing around with creating features this morning using pixel-based polygons, and it works well. I've also begun designing the API. The simplest approach would seem to be to provide the data in JSON, but with embedded HTML for the abstracts. Note this page for tips on escaping. The JSON can be used to construct and populate a large data structure from which features can be shown and hidden on the map, and popups can be populated as appropriate.