Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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>
like image 458
AK2016 Avatar asked Jul 11 '26 13:07

AK2016


1 Answers

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!

like image 107
Computer's Guy Avatar answered Jul 13 '26 20:07

Computer's Guy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!