Skip to main content

Interface: LivemapProps

Extends​

  • Omit<NativeLivemapProps, "onMapReady" | "onPinpointOpen" | "onPinpointClose" | "onUserLogin" | "onUserLogout" | "onEventOpen" | "onEventClose" | "onGuidingStarted" | "onGuidingStopped" | "onUrlChange" | "onMapMoved" | "onMapClick" | "onMapLongClick" | "onContentUpdated" | "onActionButtonClick">

Properties​

mapConfig​

mapConfig: MapConfig

Your Livemap config. You have the choice between UFE and emmid mode. If you don't provide any emmid, the default mode will be UFE. If you want to display your map via an emmid, your config will need your personal token.

Inherited from​

Omit.mapConfig


style​

style: ViewStyle & LivemapDefaultStyle

By default, your Livemap's instance fill with its container.

Overrides​

Omit.style

Events​

onActionButtonClick?​

optional onActionButtonClick?: (value) => void

A petal's button is clicked on an event or pinpoint.

Parameters​

value​
actionType​

String

item​

Pinpoint | Event

itemType​

"event" | "pinpoint"

Returns​

void


onContentUpdated?​

optional onContentUpdated?: (value) => void

The content related to the map is updated.

Parameters​

value​
items​

[Pinpoint | Event]

query​

Object

type​

"events" | "pinpoints"

Returns​

void


onEventClose?​

optional onEventClose?: (value) => void

An event is closing.

Parameters​

value​

undefined

Returns​

void


onEventOpen?​

optional onEventOpen?: (value) => void

An event is opening.

Parameters​

value​
id​

number

Returns​

void


onGuidingStarted?​

optional onGuidingStarted?: (value) => void

The navigation started.

Parameters​

value​

undefined

Returns​

void


onGuidingStopped?​

optional onGuidingStopped?: (value) => void

The navigation stopped.

Parameters​

value​

undefined

Returns​

void


onMapClick?​

optional onMapClick?: (value) => void

Dispatched when the map is clicked.

Parameters​

value​

Coordinates

Returns​

void


onMapLongClick?​

optional onMapLongClick?: (value) => void

Dispatched when the map is long clicked.

Parameters​

value​

Coordinates

Returns​

void


onMapMoved?​

optional onMapMoved?: (value) => void

Dispatched when the map is moved.

Parameters​

value​

MapView

Returns​

void


onMapReady?​

optional onMapReady?: (value) => void

The map is ready.

Parameters​

value​

undefined

Returns​

void


onPinpointClose?​

optional onPinpointClose?: (value) => void

A pinpoint is closing.

Parameters​

value​

undefined

Returns​

void


onPinpointOpen?​

optional onPinpointOpen?: (value) => void

A pinpoint is opening.

Parameters​

value​

Pinpoint

Returns​

void


onUserLogin?​

optional onUserLogin?: (value) => void

An user log-in.

Parameters​

value​

undefined

Returns​

void


onUserLogout?​

optional onUserLogout?: (value) => void

An user log-out.

Parameters​

value​

undefined

Returns​

void