Interactive maps
Load Grab map styles in MapLibre GL JS and customize controls, layers, and interactions.
GrabMaps gives you map rendering via MapLibre GL JS and REST APIs for search and routing.
Start by installing MapLibre GL JS. You'll use it to load Grab map styles, render maps, and add controls, layers, and interactions.
npm install maplibre-gl
import maplibregl from 'maplibre-gl';
import 'maplibre-gl/dist/maplibre-gl.css';See Initialize a map for the full setup flow.
Grab Maps helps you add production-ready map experiences for Southeast Asia. Start with a map, then add search, nearby places, reverse geocoding, and routing as your product needs grow.
Load Grab map styles in MapLibre GL JS and customize controls, layers, and interactions.
Use map data designed for Southeast Asia, including Singapore, Manila, Jakarta, Kuala Lumpur, and more.
Load Grab styles with your client credentials, then add sources, layers, controls, and events in MapLibre.
Use client credentials, attribution, usage tracking, and rate limits when you move from testing to production.
Each guide includes working code examples you can copy and run.
Generate environment-specific client credentials and configure the client ID and client secret securely for development, staging, or production.
Get client credentialsSet up MapLibre with GrabMaps tiles and render your first interactive map.
Read guideAdd vector tiles, configure sources and layers, and customize map controls and interactions.
Configure mapAdd keyword search, nearby place discovery, and reverse geocoding to your map experience.
Add search featuresGrabMaps APIs are independent — use map rendering, search, and routing together or separately.
Use MapLibre controls and layers to enable navigation, buildings, coverage, and attribution in a few lines.
Dive inHigh-quality vector tiles with real-time updates and full control over styling via MapLibre GL JS.
Dive inSearch and discover places with real-world context—keyword search, nearby discovery, and reverse-geo.
Dive inGet users where they need to go—faster and smarter with congestion-aware directions.
Dive inMake sure to include the required attribution. Use client credentials securely and handle usage limits and errors.