Geospatial & Maps Expert (2026 Edition)
English | Bahasa Indonesia
English
Orchestration & Integration
database-orm-expert: PostGIS spatial queries and index optimization.
senior-frontend: React map component patterns.
mobile-expo-expert: React Native Maps integration.
performance-web-vitals: Map rendering performance optimization.
Description
Expert guide for integrating maps and geospatial data into web and mobile applications. Covers Mapbox GL JS v3, Leaflet, Google Maps Platform, PostGIS spatial queries, GeoJSON data handling, clustering, routing/directions, geocoding, heatmaps, and location-based search.
Trigger Conditions
- Adding interactive maps to web or mobile applications.
- Implementing geolocation features (GPS tracking, geofencing).
- Building location-based search or store locators.
- Working with PostGIS spatial data or GeoJSON.
Library Selection
| Library |
Rendering |
3D |
Free Tier |
Best For |
| Mapbox GL JS v3 |
WebGL |
✅ |
50K loads/mo |
Premium maps, 3D |
| Leaflet |
DOM |
❌ |
Unlimited (OSM) |
Simple, lightweight |
| Google Maps |
WebGL |
✅ |
$200/mo credit |
Business, Street View |
| deck.gl |
WebGL |
✅ |
Open-source |
Large-scale data viz |
// React + Mapbox GL JS
import Map, { Marker, Popup, NavigationControl } from 'react-map-gl';
import 'mapbox-gl/dist/mapbox-gl.css';
function StoreLocator({ stores }) {
return (
<Map
mapboxAccessToken={process.env.NEXT_PUBLIC_MAPBOX_TOKEN}
initialViewState={{ longitude: 106.8456, latitude: -6.2088, zoom: 12 }}
style={{ width: '100%', height: 500 }}
mapStyle="mapbox://styles/mapbox/dark-v11"
>
<NavigationControl position="top-right" />
{stores.map((store) => (
<Marker key={store.id} longitude={store.lng} latitude={store.lat}>
<div className="marker-pin" />
</Marker>
))}
</Map>
);
}
Orchestration & Integration
database-orm-expert, senior-frontend, mobile-expo-expert
Bahasa Indonesia
Deskripsi
Panduan ahli mengintegrasikan peta dan data geospasial ke dalam aplikasi web dan mobile. Mencakup Mapbox GL JS, Leaflet, Google Maps Platform, PostGIS, dan GeoJSON.
Kondisi Pemicu
- Menambahkan peta interaktif ke aplikasi web atau mobile.
- Mengimplementasikan fitur geolokasi (pelacakan GPS, geofencing).
- Membangun pencarian berbasis lokasi atau store locator.
1---2name: geospatial-maps-expert3description: Expert guide for maps and geospatial data (Mapbox GL JS, Leaflet, Google Maps, PostGIS) / Panduan ahli peta dan data geospasial (Mapbox GL JS, Leaflet, Google Maps, PostGIS).4---56# Geospatial & Maps Expert (2026 Edition)78[English](#english) | [Bahasa Indonesia](#bahasa-indonesia)910---1112<a name="english"></a>13## English1415### Orchestration & Integration16- **`database-orm-expert`**: PostGIS spatial queries and index optimization.17- **`senior-frontend`**: React map component patterns.18- **`mobile-expo-expert`**: React Native Maps integration.19- **`performance-web-vitals`**: Map rendering performance optimization.2021### Description22Expert guide for integrating maps and geospatial data into web and mobile applications. Covers Mapbox GL JS v3, Leaflet, Google Maps Platform, PostGIS spatial queries, GeoJSON data handling, clustering, routing/directions, geocoding, heatmaps, and location-based search.2324### Trigger Conditions25- Adding interactive maps to web or mobile applications.26- Implementing geolocation features (GPS tracking, geofencing).27- Building location-based search or store locators.28- Working with PostGIS spatial data or GeoJSON.2930---3132### Library Selection3334| Library | Rendering | 3D | Free Tier | Best For |35|---------|-----------|-----|-----------|----------|36| Mapbox GL JS v3 | WebGL | ✅ | 50K loads/mo | Premium maps, 3D |37| Leaflet | DOM | ❌ | Unlimited (OSM) | Simple, lightweight |38| Google Maps | WebGL | ✅ | $200/mo credit | Business, Street View |39| deck.gl | WebGL | ✅ | Open-source | Large-scale data viz |4041```tsx42// React + Mapbox GL JS43import Map, { Marker, Popup, NavigationControl } from 'react-map-gl';44import 'mapbox-gl/dist/mapbox-gl.css';4546function StoreLocator({ stores }) {47 return (48 <Map49 mapboxAccessToken={process.env.NEXT_PUBLIC_MAPBOX_TOKEN}50 initialViewState={{ longitude: 106.8456, latitude: -6.2088, zoom: 12 }}51 style={{ width: '100%', height: 500 }}52 mapStyle="mapbox://styles/mapbox/dark-v11"53 >54 <NavigationControl position="top-right" />55 {stores.map((store) => (56 <Marker key={store.id} longitude={store.lng} latitude={store.lat}>57 <div className="marker-pin" />58 </Marker>59 ))}60 </Map>61 );62}63```6465## Orchestration & Integration66- `database-orm-expert`, `senior-frontend`, `mobile-expo-expert`6768---6970<a name="bahasa-indonesia"></a>71## Bahasa Indonesia7273### Deskripsi74Panduan ahli mengintegrasikan peta dan data geospasial ke dalam aplikasi web dan mobile. Mencakup Mapbox GL JS, Leaflet, Google Maps Platform, PostGIS, dan GeoJSON.7576### Kondisi Pemicu77- Menambahkan peta interaktif ke aplikasi web atau mobile.78- Mengimplementasikan fitur geolokasi (pelacakan GPS, geofencing).79- Membangun pencarian berbasis lokasi atau store locator.