- [Mappedin Developer Portal](https://developer.mappedin.com) - [Releases and Roadmap](https://developer.mappedin.com/docs/roadmap) - [Getting Started Guide](https://developer.mappedin.com/web-sdk/using-react) - [API Reference](https://developer.mappedin.
- Mappedin Developer Portal
- Releases and Roadmap
- Getting Started Guide
- API Reference
- Demo Keys & Maps
- License
npm install @mappedin/react-sdk
or
yarn add @mappedin/react-sdk
``javascript
import React from 'react';
import { MapView, useMapData } from '@mappedin/react-sdk';
import '@mappedin/react-sdk/lib/esm/index.css';
export default function App() {
const { mapData, isLoading, error } = useMapData({
key: '
secret: '
mapId: '
});
if (isLoading) {
return
if (error) {
return
return mapData ?
}
``
For full documentation, read our Getting Started guide on the Developer Portal.