maplibre-react-native icon indicating copy to clipboard operation
maplibre-react-native copied to clipboard

A MapLibre react native module for creating custom maps


MapLibre Logo

MapLibre GL SDK for React Native

A React Native library for building maps with
the MapLibre GL Native SDK for iOS & Android
.

This project originated as a fork of rnmapbox, a community-maintained React Native Library for building maps with the Mapbox iOS and Android mobile SDKs. The original product supported both Mapbox and MapLibre for some time, but as the MapLibre and Mapbox SDKs have diverged, it has become necessary to separate the projects into specific wrappers by underlying renderer.


npm version
Android Build
iOS Build



Indoor Building Map Android Indoor Building Map iOS

Documentation

Getting Started (start here)

Components

  • MapView
  • Light
  • StyleSheet
  • PointAnnotation
  • MarkerView
  • Callout
  • Camera
  • UserLocation
  • Images

Sources

  • VectorSource
  • ShapeSource
  • RasterSource

Layers

  • BackgroundLayer
  • CircleLayer
  • FillExtrusionLayer
  • FillLayer
  • LineLayer
  • RasterLayer
  • SymbolLayer
  • HeatmapLayer

Offline

  • OfflineManager
  • SnapshotManager

Misc

  • MapLibreGL
  • CustomHttpHeaders
  • Logger

Contributing / local development

Read the CONTRIBUTING.md guide in order to get familiar with how we do things around here and set up your local dev environment.

Community

Join the #maplibre-react-native or #maplibre Slack channels at OSMUS: get an invite at https://slack.openstreetmap.us/