Options
All
  • Public
  • Public/Protected
  • All
Menu

Map Options

Hierarchy

Index

Properties

Optional center

center: ICoordinate

Map center coordinate

container

container: string

ID of the map container DIV element

Optional experience

experience: undefined | string

Experience (destination.one project name)

Optional fullscreenControl

fullscreenControl: undefined | false | true

if true, the Fullscreen control will be added to the map

default

true

since

1.0.1

Optional fullscreenControlPosition

fullscreenControlPosition: "top-right" | "top-left" | "bottom-right" | "bottom-left"
since

1.0.2

Optional geolocateControl

geolocateControl: undefined | false | true

if true, the Geolocate control will be added to the map

default

true

since

1.0.1

Optional geolocateControlPosition

geolocateControlPosition: "top-right" | "top-left" | "bottom-right" | "bottom-left"
since

1.0.2

Optional licenseKey

licenseKey: undefined | string

destination.meta license key for the experience

since

1.0.4

Optional markerTypeArea

markerTypeArea: MarkerType

Optional markerTypeArticle

markerTypeArticle: MarkerType

Optional markerTypeCity

markerTypeCity: MarkerType

Optional markerTypeDefault

markerTypeDefault: MarkerType

Optional markerTypeEvent

markerTypeEvent: MarkerType

Optional markerTypeGastro

markerTypeGastro: MarkerType

Optional markerTypeHotel

markerTypeHotel: MarkerType

Optional markerTypeMarker

markerTypeMarker: MarkerType

Optional markerTypePOI

markerTypePOI: MarkerType

Optional markerTypePackage

markerTypePackage: MarkerType

Optional markerTypeTour

markerTypeTour: MarkerType

Optional markerTypes

Optional navigationControl

navigationControl: undefined | false | true

if true, the Navigation control will be added to the map

default

true

since

1.0.2

Optional navigationControlPosition

navigationControlPosition: "top-right" | "top-left" | "bottom-right" | "bottom-left"
since

1.0.2

Optional oneFingerPan

oneFingerPan: undefined | false | true

If set to false, one finger panning will be disabled and an overlay will be shown.

default

true

since

1.0.1

Optional style

style: undefined | string

id of the inital map style. If undefined or not found, then the default style will be used.

since

1.0.1

Optional styleControl

styleControl: undefined | false | true

if true, the style changer control will be added to the map.

default

true

since

1.0.1

Optional styleControlPosition

styleControlPosition: "top-right" | "top-left" | "bottom-right" | "bottom-left"
since

1.0.2

Optional zoom

zoom: undefined | number

Map zoom level