Use MapLibre tools and related libraries with Amazon Location - Amazon Location Service

Use MapLibre tools and related libraries with Amazon Location

MapLibre is primarily a rendering engine for displaying maps in a web or mobile application. However, it also includes support for plug-ins and provides functionality for working with other aspects of Amazon Location. The following describes tools that you can use, based on the area or location that you want to work with.

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 which provide spatial analysis functionality.

Many libraries use the open standard GeoJSON formatted data. Amazon Location Service provides a library to convert responses into GeoJSON for use in JavaScript applications. For more information, see SDKs and tools for using Amazon Location Service.