Skip to content

Latest commit

 

History

258 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@lugg/maps

Universal maps for your React Native apps 📍

@lugg/maps

Documentation

Full documentation lives at maps.lodev09.com.

Quick start

npm install @lugg/maps
import { 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.

AI Skills

Skills give your AI coding agent working knowledge of @lugg/maps - setup, camera control, markers and callouts, static maps, advanced patterns, and platform limitations - so it generates correct code without you explaining the library each time.

npx skills add lugg/maps

This installs the Maps Usage skill into your project. The source lives in skills/maps-usage.

Contributing

License

MIT

About

Universal maps for React Native

Topics

Resources

Code of conduct

Contributing

Stars

60 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages