Nanoscale Parts Manufacturing

    react-native-bpk-component-map

    1.0.42 • Public • Published

    react-native-bpk-component-map

    Backpack React Native map component.

    Installation

    npm install react-native-bpk-component-map --save-dev

    This package depends on react-native-maps and its native components need to be integrated manually by following their instructions.

    Usage

    react-native-bpk-component-map is a thin wrapper around react-native-maps. It exports all the same components and values as react-native-maps so you should read their documentation.

    import React from 'react';
    import BpkMapView from 'react-native-bpk-component-map';
     
     
    export default class App extends Component {
      render() {
        return (
          <BpkMapView
            style={{ flex: 1 }}
            initialRegion={{
              latitude: 37.78825,
              longitude: -122.4324,
              latitudeDelta: 0.0922,
              longitudeDelta: 0.0421,
            }}
          />
        );
      }
    }

    Keywords

    none

    Install

    npm i react-native-bpk-component-map

    DownloadsWeekly Downloads

    108

    Version

    1.0.42

    License

    Apache-2.0

    Unpacked Size

    15.2 kB

    Total Files

    5

    Last publish

    Collaborators

    • frugoman
    • zgeor
    • anambl
    • marianeumayer-skyscanner
    • ojcurt
    • tiagohngl