-
Install dependencies using
npm install
-
Follow steps to create an Amplify project and enable Amazon Location Service permissions
-
Create a map in the Amazon Location Service console and replace
<MAP_NAME>
with the name of the one you created insrc/index.tsx
on line 19. -
Start the app using
npm start
mapbox-gl@^2
and[email protected]
are NOT compatible with Amazon Location Service, as they require a Mapbox API key. This project usesmaplibre-gl^1.0.0
andreact-map-gl@^7.0.x
, the latter is a new version that is library agnostic and allows to specify which map library to use.