Skip to content

Latest commit

 

History

History
 
 

maplibre-gl-js

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

How to use MapLibre GL JS with Amazon Location Service

This example demonstrates how to use MapLibre GL JS with Amazon Location Service using the amazon-location-helpers library.

Configuration

Within index.html, replace <Identity Pool ID> with an Amazon Cognito identity pool ID granted access to Amazon Location Maps. Next, 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 createMap's MapLibre constructor options.

Security

See CONTRIBUTING for more information.

License

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