Universal maps for your React Native apps 📍
Full documentation lives at maps.lodev09.com.
- Installation - Expo, bare React Native, and web setup
- Usage - Render your first map
- MapView - Props, camera methods, events, static maps
- Marker - Custom views, callouts, dragging
- Polyline, Polygon, Circle - Shapes
- GeoJson, GroundOverlay, TileOverlay - Data and overlays
- Types -
Coordinate,Point,EdgeInsets
npm install @lugg/mapsimport { MapView, Marker } from '@lugg/maps';
<MapView
style={{ flex: 1 }}
provider="google"
initialCoordinate={{ latitude: 37.7749, longitude: -122.4194 }}
initialZoom={12}
>
<Marker
coordinate={{ latitude: 37.7749, longitude: -122.4194 }}
title="San Francisco"
/>
</MapView>Google Maps needs an API key on every platform. See Installation for Expo, iOS, Android, and web setup.
MIT
