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?
optionalonActionButtonClick?: (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?
optionalonContentUpdated?: (value) =>void
The content related to the map is updated.
Parameters
value
items
[Pinpoint | Event]
query
Object
type
"events" | "pinpoints"
Returns
void
onEventClose?
optionalonEventClose?: (value) =>void
An event is closing.
Parameters
value
undefined
Returns
void
onEventOpen?
optionalonEventOpen?: (value) =>void
An event is opening.
Parameters
value
id
number
Returns
void
onGuidingStarted?
optionalonGuidingStarted?: (value) =>void
The navigation started.
Parameters
value
undefined
Returns
void
onGuidingStopped?
optionalonGuidingStopped?: (value) =>void
The navigation stopped.
Parameters
value
undefined
Returns
void
onMapClick?
optionalonMapClick?: (value) =>void
Dispatched when the map is clicked.
Parameters
value
Returns
void
onMapLongClick?
optionalonMapLongClick?: (value) =>void
Dispatched when the map is long clicked.
Parameters
value
Returns
void
onMapMoved?
optionalonMapMoved?: (value) =>void
Dispatched when the map is moved.
Parameters
value
Returns
void
onMapReady?
optionalonMapReady?: (value) =>void
The map is ready.
Parameters
value
undefined
Returns
void
onPinpointClose?
optionalonPinpointClose?: (value) =>void
A pinpoint is closing.
Parameters
value
undefined
Returns
void
onPinpointOpen?
optionalonPinpointOpen?: (value) =>void
A pinpoint is opening.
Parameters
value
Returns
void
onUserLogin?
optionalonUserLogin?: (value) =>void
An user log-in.
Parameters
value
undefined
Returns
void
onUserLogout?
optionalonUserLogout?: (value) =>void
An user log-out.
Parameters
value
undefined
Returns
void