Skip to main content

Interface: LivemapProps

types.LivemapProps

Hierarchy

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

    LivemapProps

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

Defined in

react-native-wemap-livemap/src/types/NativeLivemapProps.ts:15


style

style: ViewStyle & LivemapDefaultStyle

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

Overrides

Omit.style

Defined in

react-native-wemap-livemap/src/types/LivemapProps.ts:32

Events

onActionButtonClick

Optional onActionButtonClick: (value: { actionType: String ; item: Pinpoint | default ; itemType: "event" | "pinpoint" }) => void

Type declaration

▸ (value): void

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

Parameters
NameType
valueObject
value.actionTypeString
value.itemPinpoint | default
value.itemType"event" | "pinpoint"
Returns

void

Defined in

react-native-wemap-livemap/src/types/LivemapProps.ts:141


onContentUpdated

Optional onContentUpdated: (value: { items: [Pinpoint | default] ; query: Object ; type: "events" | "pinpoints" }) => void

Type declaration

▸ (value): void

The content related to the map is updated.

Parameters
NameType
valueObject
value.items[Pinpoint | default]
value.queryObject
value.type"events" | "pinpoints"
Returns

void

Defined in

react-native-wemap-livemap/src/types/LivemapProps.ts:130


onEventClose

Optional onEventClose: (value: undefined) => void

Type declaration

▸ (value): void

An event is closing.

Parameters
NameType
valueundefined
Returns

void

Defined in

react-native-wemap-livemap/src/types/LivemapProps.ts:81


onEventOpen

Optional onEventOpen: (value: { id: number }) => void

Type declaration

▸ (value): void

An event is opening.

Parameters
NameType
valueObject
value.idnumber
Returns

void

Defined in

react-native-wemap-livemap/src/types/LivemapProps.ts:74


onGuidingStarted

Optional onGuidingStarted: (value: undefined) => void

Type declaration

▸ (value): void

The navigation started.

Parameters
NameType
valueundefined
Returns

void

Defined in

react-native-wemap-livemap/src/types/LivemapProps.ts:88


onGuidingStopped

Optional onGuidingStopped: (value: undefined) => void

Type declaration

▸ (value): void

The navigation stopped.

Parameters
NameType
valueundefined
Returns

void

Defined in

react-native-wemap-livemap/src/types/LivemapProps.ts:95


onMapClick

Optional onMapClick: (value: Coordinates) => void

Type declaration

▸ (value): void

Dispatched when the map is clicked.

Parameters
NameType
valueCoordinates
Returns

void

Defined in

react-native-wemap-livemap/src/types/LivemapProps.ts:116


onMapLongClick

Optional onMapLongClick: (value: Coordinates) => void

Type declaration

▸ (value): void

Dispatched when the map is long clicked.

Parameters
NameType
valueCoordinates
Returns

void

Defined in

react-native-wemap-livemap/src/types/LivemapProps.ts:123


onMapMoved

Optional onMapMoved: (value: MapView) => void

Type declaration

▸ (value): void

Dispatched when the map is moved.

Parameters
NameType
valueMapView
Returns

void

Defined in

react-native-wemap-livemap/src/types/LivemapProps.ts:109


onMapReady

Optional onMapReady: (value: undefined) => void

Type declaration

▸ (value): void

The map is ready.

Parameters
NameType
valueundefined
Returns

void

Defined in

react-native-wemap-livemap/src/types/LivemapProps.ts:39


onPinpointClose

Optional onPinpointClose: (value: undefined) => void

Type declaration

▸ (value): void

A pinpoint is closing.

Parameters
NameType
valueundefined
Returns

void

Defined in

react-native-wemap-livemap/src/types/LivemapProps.ts:53


onPinpointOpen

Optional onPinpointOpen: (value: Pinpoint) => void

Type declaration

▸ (value): void

A pinpoint is opening.

Parameters
NameType
valuePinpoint
Returns

void

Defined in

react-native-wemap-livemap/src/types/LivemapProps.ts:46


onUserLogin

Optional onUserLogin: (value: undefined) => void

Type declaration

▸ (value): void

An user log-in.

Parameters
NameType
valueundefined
Returns

void

Defined in

react-native-wemap-livemap/src/types/LivemapProps.ts:60


onUserLogout

Optional onUserLogout: (value: undefined) => void

Type declaration

▸ (value): void

An user log-out.

Parameters
NameType
valueundefined
Returns

void

Defined in

react-native-wemap-livemap/src/types/LivemapProps.ts:67