made changes required to support map dragging not affect operation when dragging not enabled