Offline vector editing for OpenLayers