Skip to content

Latest commit

 

History

History
 
 

maplibre-gl-js-amplify

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

How to use MapLibre GL JS with Amazon Location Service and AWS Amplify

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

Configuration

Within index.html, replace <identity pool ID> with an Amazon Cognito identity pool ID granted access to Amazon Location Maps. Replace <region> with the AWS Region hosting the identity pool and Map source. Finally, replace <map name> with the name of a Map resource that you'd previously created.

To change the map's viewport, modify center and zoom within the createMap options.

Security

See CONTRIBUTING for more information.

License

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