HereMap
TheHereMap component is the main container for HERE Maps. It provides the map context to all child components through React Context.
Props
Your HERE Maps API key. Get one at developer.here.com
Map style/theme. Defaults to
"vector.normal.map"Available styles:vector.normal.map- Standard vector mapraster.satellite.map- Satellite imageryraster.terrain.map- Terrain viewraster.normal.mapnight- Night mode
Basic Usage
Map Styles
- Normal
- Satellite
- Terrain
- Night Mode
With Child Components
Context Provider
TheHereMap component provides a context that can be accessed by child components:
Engine Types
P2D (Default)
2D rendering engine. Better performance on older devices.
WEBGL
WebGL rendering engine. Better performance with complex visualizations.
See Also
Map Context
Learn about the context system
Marker
Add markers to the map
Controls
Add interactive controls