Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.04 KB

File metadata and controls

25 lines (17 loc) · 1.04 KB

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.