npm

Need private packages and team management tools?Check out npm Orgs. »

react-native-bpk-component-map

1.0.36 • 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

17

version

1.0.36

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability