Quickstart Guide
This guide will help you create your first map application using React HERE Maps.Prerequisites
HERE Maps API Key
HERE Maps API Key
You’ll need a HERE Maps API key. Get one for free at developer.here.com.
React 18+
React 18+
This library requires React 18 or higher for concurrent features and improved SSR support.
Installation
Install the packages
Install both the React HERE Maps library and the HERE Maps JavaScript API:Or with pnpm:Or with yarn:
Get your HERE API key
- Sign up at developer.here.com
- Create a new project
- Generate an API key
- Copy your API key for the next step
Your First Interactive Map
Let’s add some interactivity with a draggable marker:Common Patterns
Multiple Markers
Drawing Polylines
Next Steps
Map Context
Learn about the context system
Components API
Explore all available components
TypeScript Guide
Type-safe development patterns
Examples
View more interactive examples
Troubleshooting
Map not displaying
Map not displaying
Make sure you have:
- Set a height on the map container
- Provided a valid HERE API key
- Installed both required packages
TypeScript errors
TypeScript errors
Install the type definitions:
API key errors
API key errors
Verify that:
- Your API key is valid and active
- The key has the required permissions
- You’re not hitting rate limits