# pannable

type | Boolean
default | true

init

    $( map selector ).geomap( { pannable: true } );

get

    var pannable = $( map selector ).geomap( "option", "pannable" );

set

    $( map selector ).geomap( "option", "pannable", false );

The pannable option determines whether or not a user can pan the map.

When true, the default, users can drag the map image or tiles to change the bbox in any mode except for "static". For example, they can pan the map in the middle of drawing a polygon with the drawPolygon mode.

When false, a user's dragging of the map image will not cause it to move regardless of what mode the widget is in. Developers can still make programatic changes to the bbox, such as setting options and calling methods.