More robustitude for the map, and editing existing features
Posted by mholmes on 20 Dec 2014 in Activity log
Today I fixed another wrinkle in the XML-to-OpenLayers/JSON mapping, whereby a single line-string (a straight line for a short road) was recorded as a zone/@points with only two points, but this is invalid. I've been forced to use @ulx and friends for this, as I have for the single point locations, and I've tweaked the XSLT and the map drawing code accordingly.
I also added the ability to select an existing feature and edit it, so that you can correct an error in an existing complex shape without having to redraw it completely. That seems to be working well.
Next I really want to move the LocList code out of the main module, and comment it more thoroughly.