-
Notifications
You must be signed in to change notification settings - Fork 10
UserLocation
Mohammad Akram edited this page Mar 20, 2020
·
1 revision
Welcome to the mapmyindia-map-react-native-beta wiki!
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
| animated | bool |
true |
false |
Whether location icon is animated between updates |
| renderMode | enum |
'normal' |
false |
Rendermode of user location icon. One of "normal", "custom"."custom" must be of type mapbox-gl-native components |
| visible | bool |
true |
false |
Whether location icon is visible |
| onPress | func |
none |
false |
Callback that is triggered on location icon press |
| onUpdate | func |
none |
false |
Callback that is triggered on location update |
| minDisplacement | number |
0 |
false |
FIX ME NO DESCRIPTION |
| children | any |
none |
false |
Custom location icon of type mapbox-gl-native components |
Whether to start or stop the locationManager
Notice, that locationManager will start automatically when
either onUpdate or visible are set
| Name | Type | Required | Description |
|---|---|---|---|
{running} |
n/a |
Yes |
undefined |
If locationManager should be running
| Name | Type | Required | Description |
|---|
For any queries and support, please contact:

Stack Overflow
Ask a question under the mapmyindia-api
Support
Need support? contact us!
Blog
Read about the latest updates & customer stories
� Copyright 2019. CE Info Systems Pvt. Ltd. All Rights Reserved. | Terms & Conditions
- Installation Guides
- Components
- Sources
- Layers
- Widgets
- Set MapmyIndia Style
- Rest Api's