More fixes/improvements to the MapManager/WebGIS interaction. Close #378.