react-native-performant-marker

0.1.0 • Public • Published
React Native Performant Marker

Battle Tested ✅

React Native Performant Marker

npm version npm Platform - Android and iOS License: MIT styled with prettier

React Native Performant Marker

Installation

Add the dependency:

npm i react-native-performant-marker

Peer Dependencies

IMPORTANT! You need install them
"react-native-maps": ">= 0.26.1",

Usage

Import

import PerformantMarker from "react-native-performant-marker";

Basic Usage

This is just an example of usage PerformantMarker. You can simply use the MapView.Marker's every prop and same usage. Inside of the FastImage is just a recommendation for CustomMarker image usage. It performs the best on react-native community.

<PerformantMarker
  title="Test"
  key="some-key-id"
  tracksViewChanges={false}
  onPress={() => {}}
  coordinate={{
    latitude,
    longitude,
  }}
>
  <FastImage source={markerIcon} style={styles.markerStyle} />
</PerformantMarker>

Author

FreakyCoder, kurayogun@gmail.com

License

React Native Performant Marker is available under the MIT license. See the LICENSE file for more info.

Package Sidebar

Install

npm i react-native-performant-marker

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

5.57 kB

Total Files

6

Last publish

Collaborators

  • freakycoder