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
| Name | Type | 
|---|---|
value | Object | 
value.actionType | String | 
value.item | Pinpoint | 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
| Name | Type | 
|---|---|
value | Object | 
value.items | [Pinpoint | default] | 
value.query | Object | 
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
| Name | Type | 
|---|---|
value | undefined | 
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
| Name | Type | 
|---|---|
value | Object | 
value.id | number | 
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
| Name | Type | 
|---|---|
value | undefined | 
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
| Name | Type | 
|---|---|
value | undefined | 
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
| Name | Type | 
|---|---|
value | Coordinates | 
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
| Name | Type | 
|---|---|
value | Coordinates | 
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
| Name | Type | 
|---|---|
value | MapView | 
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
| Name | Type | 
|---|---|
value | undefined | 
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
| Name | Type | 
|---|---|
value | undefined | 
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
| Name | Type | 
|---|---|
value | Pinpoint | 
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
| Name | Type | 
|---|---|
value | undefined | 
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
| Name | Type | 
|---|---|
value | undefined | 
Returns
void