lock the map when editing so we can draw by dragging