# center

type | Array (GeoJSON position)
default | [ 0, 0 ]

init

`

    $( selector ).geomap( { center: [ 0, 0 ] } );

`

get

`

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

`

set

`

    $( selector ).geomap( "option", "center", [ -71.037598, 42.363281 ] );

`

The center property gets or sets the center point of the map. By default the value is in geodetic coordinates, e.g., longitude, latitude. You can change the default when you initialize the widget by passing projected coordinates as the center option.

Setting a new center point will refresh the map services.

If you attempt to initialize both center and bbox at the same time when creating a geomap widget, center will override bbox.