Introduction
react-native-here-explore is a React Native library that integrates the HERE Maps SDK Explore Edition into your mobile app. Built from scratch with Kotlin and Swift using the latest React Native TurboModules architecture.
Features
| Feature | Description |
|---|---|
| Map | Render interactive HERE maps with multiple visual schemes |
| Marker | Place custom image markers at any coordinate |
| Polyline | Draw solid or dashed lines between coordinates |
| Polygon | Fill areas using coordinate lists or circles |
| Arrow | Draw directional arrows along a path |
| useRouting | Calculate routes for 10 transport modes |
Requirements
- React Native >= 0.73 (New Architecture / TurboModules)
- iOS 14+
- Android API 24+
- A HERE Platform account with access credentials
Quick Example
import { Map, Marker } from 'react-native-here-explore';
export default function App() {
return (
<Map
mapScheme="NORMAL_DAY"
zoomValue={14}
geoCoordinates={{ latitude: 48.8566, longitude: 2.3522 }}
>
<Marker
geoCoordinates={{ latitude: 48.8566, longitude: 2.3522 }}
image={require('./assets/pin.png')}
/>
</Map>
);
}