# cursors

type | Object (map of geomap mode to CSS cursor)

default

    {
      static: "default",
      pan: "move",
      zoom: "crosshair",
      drawPoint: "crosshair",
      drawLineString: "crosshair",
      drawPolygon: "crosshair",
      measureLength: "crosshair",
      measureArea: "crosshair"
    }

init

`

    $( selector ).geomap( { cursors: { pan: "move" } } );

`

get

`

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

`

set

`

    $( selector ).geomap( "option", "cursors", { pan: "pointer" } );

`

The cursors property controls which cursors appear when users move the mouse over the geomap div in any given mode.

The developer may change each geomap mode's cursor separately during both initialization of the widget or any time after.

Sometimes the geomap widget will override the selected mode's cursor, e.g., when a user starts panning in other modes the cursor will switch to the pan mode cursor temporarily.