react-native-cross-maps

A beautiful React-Native map using react-native-maps

Usage no npm install needed!

<script type="module">
  import reactNativeCrossMaps from 'https://cdn.skypack.dev/react-native-cross-maps';
</script>

README

Crossplatform

Crossplatform React-Native Maps

A beautiful React-Native map using react-native-maps and other libraries.

Install

Install react-native-paper, react-native-maps and react-native-maps-directions if you don't already have them.

    npm i react-native-paper
        npm i react-native-maps
        npm i react-native-maps-directions

Or with yarn

    yarn add react-native-paper
    yarn add react-native-maps
        yarn add react-native-maps-directions

Once those packages are installed:

    npm i react-native-cross-maps

or

    yarn add react-native-cross-maps

Documentation


MapComponent

Renders a MapView from react-native-maps and a MapViewDirections from react-native-maps-directions

Also includes UserLocationButton based of react-native-paper which can navigate to the user's current position. To enable this set the property userLocationButton to true