Skip to content

Latest commit

 

History

History
 
 

maplibre-gl-js-react-amplify

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Using MapLibre GL JS with Amazon Location Service and AWS Amplify in a React application

This example demonstrates how to use MapLibre GL JS with Amazon Location Service and AWS Amplify within a React application.

react-map-gl is a set of React components that can be used to display maps. react-map-gl-amplify demonstrates how to use react-map-gl with Amazon Location and AWS Amplify.

Implementation

See src/index.tsx.

Dependencies

See package.json.

Getting started

  1. Install the Amplify CLI: npm install -g @aws-amplify/cli
  2. Install project dependencies: npm install
  3. Create a new Amplify project environment: amplify init
  4. Create Auth and Geo resources: amplify push

Cleaning up

To clean up all resources created for this application, run the following:

amplify delete

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.