Maps for React Native — MapLibre-compatible Maps API
- maps for react native

# React Native maps, the boring infra part sorted.
Use the official maplibre-react-native fork for true native map views on iOS and Android. The same maps.guru style URL works; auth travels on every tile.
Get a free API key React Native docs

install
pnpm add @maplibre/maplibre-react-native Copy

tsx Copy
import MapLibreGL from &#39;@maplibre/maplibre-react-native&#39;;
import { StyleSheet } from &#39;react-native&#39;;

const MAP_STYLE = &#39;https://maps.guru/api/v1/styles/standard/light/style.json?key=YOUR_API_KEY&#39;;

export default function CityMap() {
return (
&lt;MapLibreGL.MapView
style={styles.map}
mapStyle={MAP_STYLE}
logoEnabled={false}
compassEnabled
&gt;
&lt;MapLibreGL.Camera
zoomLevel={11}
centerCoordinate={[77.209, 28.6139]}
/&gt;
&lt;MapLibreGL.PointAnnotation
coordinate={[77.209, 28.6139]}
id=&quot;delhi&quot;
/&gt;
&lt;/MapLibreGL.MapView&gt;
);
}

const styles = StyleSheet.create({
map: { flex: 1 },
});

{native render}

native · React Native

### Native WebGL map, runs on iOS and Android.
The React Native SDK renders straight to the platform’s OpenGL / Metal context. Web preview is skipped — install the package and run on a simulator to see live tiles.

## Why React Native teams ship on maps.guru
Free-tier generous enough for real production traffic. 50,000 tile requests/month , no credit card.

Native mapview with gesture handling, idle detection, and offline caches built in.
- Same JSX API surface as react-map-gl, a drop-in for shared React components.
- Use Camera + PointAnnotation JSX children instead of imperative map.addLayer calls.

## Frequently asked

-
### Is it Expo-compatible?
Yes with a custom dev client (EAS Build). The package uses native modules, so it cannot run in the standard Expo Go sandbox.

-
### Do I need to bundle the style JSON locally?
No, pass the maps.guru style URL straight in. We recommend caching it locally via the disk cache for offline support.

## Mapping terms for React Native developers, defined
The vocabulary behind vector tiles, styles, and geocoding, in plain language.

### What is Vector tile?
A vector tile is a compressed binary chunk of map geometry (roads, buildings, labels) that the browser styles and renders at runtime, instead of downloading a pre-drawn image. Vector tiles let one dataset power unlimited visual styles and stay sharp at every zoom level.

### What is Basemap?
A basemap is the background map layer (roads, water, landuse, place labels) that your own data is drawn on top of. maps.guru serves basemaps as MapLibre-compatible vector tiles.

### What is Map style?
A map style is a JSON document that tells a renderer which colours, fonts, widths, and zoom rules to apply to each layer of a vector tile. maps.guru styles follow the MapLibre Style Specification, so they work in any MapLibre or Mapbox GL JS compatible renderer.

### What is Geocoding?
Geocoding is the process of converting a text address or place name into latitude and longitude coordinates. Reverse geocoding does the opposite: it converts coordinates into the nearest human-readable address.

### What is PMTiles?
PMTiles is a single-file archive format for map tiles that supports HTTP range requests, so a tile server can read one tile out of a multi-gigabyte archive without unpacking it. maps.guru stores its tile archives as PMTiles on Cloudflare R2.

### What is MapLibre GL JS?
MapLibre GL JS is an open-source WebGL map renderer, forked from Mapbox GL JS v1 after that project moved to a proprietary licence. It is the reference renderer for maps.guru styles and carries no per-render licence fee.

### What is Tile request?
A tile request is one HTTP fetch of a single map tile. A typical desktop map view loads roughly 10 to 20 tiles, and panning or zooming loads more, which is why tile quotas are counted in tens of thousands rather than page views.

### What is Static map?
A static map is a server-rendered PNG or JPEG image of a map at a fixed centre, zoom, and size. Static maps are used where an interactive map cannot run: email, PDF exports, Open Graph share cards, and AI chat replies.

## Sources

- MapLibre Style Specification — MapLibre
- Mapbox Vector Tile specification — Mapbox
- MapLibre GL JS documentation — MapLibre
- OpenStreetMap tile usage policy — OpenStreetMap Foundation

## Maps for other frameworks

- tsx
React
MapLibre-native maps for React apps.
See snippet

- dart
Flutter
Native maps with the official Flutter MapLibre package.
See snippet

- ts
MapLibre GL JS
Pure maplibre-gl with no wrappers or opinions.
See snippet

## Ready to build with
beautiful basemaps?
Join developers worldwide who trust maps.guru for their mapping needs. Start free, no credit card required.
Get started free Get started free
Contact us
Free forever plan
5-minute setup
No credit card