Use MapLibre tools and related libraries with Amazon Location
MapLibre
Note
To use any aspect of Amazon Location, install the AWS SDK for the language that you want to use.
-
Maps
To display maps in your application, you need a map rendering engine that will use the data provided by Amazon Location, and draw to the screen. Map rendering engines also provide functionality to pan and zoom the map, or to add markers or pushpins and other annotations to the map.
Amazon Location Service recommends rendering maps using the MapLibre
rendering engine. MapLibre GL JS is an engine for displaying maps in JavaScript, while MapLibre Native provides maps for either iOS or Android. MapLibre also has a plug-in ecosystem to extend the core functionality. For more information, visit https://maplibre.org/maplibre-gl-js-docs/plugins/
. -
Places search
To make creating a search user interface simpler, you can use the MapLibre geocoder
for web (Android applications can use the Android Places plug-in ). Use the Amazon Location for MapLibre geocoder library
to simplify the process of using Amazon Location with amazon-location-for-maplibre-gl-geocoder
in JavaScript Applications.For more information, see Use Amazon Location MapLibre Geocoder GL plugin.
-
Routes
-
Geofences and Trackers
MapLibre doesn't have any specific rendering or tools for geofences and tracking, but you can use the rendering functionality and plug-ins
to show the geofences and tracked devices on the map. The devices being tracked can use MQTT or manually send updates to Amazon Location Service. Geofence events can be responded to using AWS Lambda.
Many open source libraries are available to provide additional functionality for
Amazon Location Service, for example Turf
Many libraries use the open standard GeoJSON