'Indoor floor maps in react native
I want in implement floor map navigation in my application. Please , suggest any available Library or ways to implement it.
Tried following, but does not allow to add customize map/floor etc.
<MapView
style={styles.mapViewStyle}
initialRegion={{
latitude: 37.78825,
longitude: -122.4324,
latitudeDelta: 0.0922,
longitudeDelta: 0.0421,
}}>
<MapView.Marker draggable
// calloutOffset={MapView.Marker.Point{x:0, y:30}}
pinColor='steelblue'
coordinate={{latitude: 37.78825,longitude: -122.4324,}}
title='San Francisco'
description='City by the Bay'
onDragEnd={(e) => this.setState({ x: e.nativeEvent.coordinate })}
/>
</MapView>
Solution 1:[1]
You can customize something like react-native-maps from Airbnb, for the implementation part, we don't provide code on-demand in this website, first you have to show us what you tried :)
Hope it helps!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Computer's Guy |