10
51%
MIT
[![Build Status](https://github.com/sgny/reason-react-native-maps/workflows/Build/badge.svg)](https://github.com/sgny/reason-react-native-maps/actions) [![Version](https://img.shields.io/npm/v/reason-react-native-maps.svg)](https://www.npmjs.com/package/r

BuckleScript bindings to React Native Maps

Build Status Version

These are complete BuckleScript bindings to React Native Maps, in Reason syntax.

Version x.y.z of reason-react-native-maps should be compatible with version x.y.* of react-native-maps.

Changes

Please see the changelog.

Installation

With yarn:

yarn add reason-react-native-maps

With npm:

npm install reason-react-native-maps

react-native-maps should be properly installed, and linked if you are using React Native versions below 0.60. Please refer to the relevant instructions.

Finally, reason-react-native-maps should be added to bs-dependencies in BuckleScript configuration of the project (bsconfig.json). For example,

{
  ...
  "bs-dependencies": ["reason-react", "reason-react-native", "reason-react-native-maps"],
  ...
}

Modules

MapView

MapView.Animated

Marker

Marker.Animated

Heatmap

Circle

Overlay

Polygon

Polyline

Callout

CalloutSubview

Geojson

Types

LatLng

Region

Shared

Further documentation will be added later. Documentation has been adapted from that for React Native Maps.