This example demonstrates how to use MapLibre GL JS
with Amazon Location Service using the
amazon-location-helpers
library.
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.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.