Front-End Web & Mobile

Resources to Integrate with HAQM Location Service

Curious to find how you can customize your map, look for places, and play around with routing capabilities, directly on AWS? Learn how HAQM Location provides secure capabilities for developers to easily visualize and customize a map, add location, and enable tracking features to their application. The HAQM Location Service Developer Guide has detailed information for you to explore and learn about the common use cases for HAQM Location Service.

Key features, described in post.

Figure 1: Key features

Here are the API references to the key features in HAQM Location that you can use:
Maps to visualize location information.
Places to integrate search functionality, for geocoding, and reverse geocoding.
Routing to calculate routes and estimate travel time.
Geofencing to detect and act when a tracked device enters or exits a defined geographical boundary.
Trackers to send device location updates from your tracking-enabled application.
Tagging to create tags to categorize your resources by purpose, owner, environment, or criteria.

Wondering about the availability of security, monitoring, and compliance features available with this service? HAQM Location simplifies your development workflow by seamlessly integrating with services such as AWS CloudTrail, HAQM CloudWatch, HAQM EventBridge, and AWS Identity and Access Management (IAM).

Prefer using the command-line shell instead of browser-based AWS Management Console? Similar to other AWS services, you can use AWS CLI to interact with HAQM Location Service.

Check out our repository of samples on GitHub for examples on how to use HAQM Location in your application. These GitHub samples repositories are created by AWS subject matter experts, aimed at helping our customers to enable, provision, and operate their environments in AWS with minimal time to production.

MAPS

  1. MapLibre
    1. Here are samples using MapLibre GL JS to embed client-side maps into web applications:
      1. Using MapLibre GL JS with HAQM Location Service – Integrate MapLibre GL JS with HAQM Location within a basic HTML and JavaScript application.
      2. Using MapLibre GL JS using React Framework with HAQM Location Service – Embed a map in your React application using HAQM Location Service.
      3. Using MapLibre GL JS with HAQM Location Service and AWS Amplify – Integrate MapLibre JS with HAQM Location and AWS Amplify within a basic HTML and JavaScript Application
      4. Using MapLibre GL JS with HAQM Location Service and AWS Amplify in a React Application – Embed a map in your React Application using HAQM Location Service and AWS Amplify
      5. Using react-map-gl with HAQM Location Service and AWS Amplify – With react-map-gl, which is a set of react components used to display maps, learn how to leverage that to display maps with HAQM Location Service and AWS Amplify.
      6. Create Custom Style Map – Customize your map to meet the brand requirements and provide visualization for geographical data using HAQM Location Service and data providers, Esri and HERE. This sample has an associated AWS Front-end Web and Mobile blog post.
      7. HAQM Location Helpers – It will help initialize MapLibre GL JS maps with support for Signature Version 4 so that it can be used with HAQM Location Service.
    2. Here are the samples using MapLibre GL Native SDK to embed interactive maps into your Android and iOS applications:
      1. Using the MapLibre GL Native SDK for Android with HAQM Location Service
      2. Using the MapLibre GL Native SDK for iOS with HAQM Location Service
  2. Tangram
    1. Using Tangram with HAQM Location Service – See how you can integrate Tangram with HAQM Location within a basic HTML/JavaScript application using the Tangram Style called Bubble Wrap.
    2. Here are the samples showing how to integrate Tangram ES for Android and iOS with HAQM Location using the Tangram style called Cinnabar.
      1. Using Tangram ES for Android with HAQM Location Service
      2. Using Tangram ES for iOS with HAQM Location Service

Places

  1. Samples and user-defined functions (UDFs) to create and configure a Lambda function to geocode address data stored in AWS Databases using HAQM Location Service.
    1. Access HAQM Location Service from HAQM Aurora – Learn more using this reference AWS Database blog post.
    2. Access HAQM Location Service from HAQM Redshift – Learn more using this reference AWS Big Data blog post.
    3. HAQM Aurora UDFs for HAQM Location Service – This is a set of AWS Lambda and UDFs for HAQM Aurora PostgreSQL that enable querying HAQM Location Service using SQL. These facilitate cleaning, validating, and enriching data in place.
    4. HAQM Location Athena UDFs – This is a set of Federated Scalar Batch Functions for HAQM Location Service and HAQM Athena using Athena Query Federation SDK. These UDFs allow you to geocode and reverse geocode data accessible to Athena from the comfort of SQL.

TRACKING

  1. Location Tracking in Android – Add capabilities such as maps, points of interest, geocoding, routing, geofences, and tracking to applications without compromising data security and user privacy.
  2. Location Tracking in iOS – Use AWSLocationTracker to start and stop location tracking.
  3. Delivery Service Tracking – Implement estimated time of arrival and proximity notification for delivery using routing and geofence capabilities provided by HAQM Location Service. This sample has an associated AWS Front-end Web and Mobile blog post.
  4. Asset Tracking – Leverage maps and device tracking using location-based features to track device positions in a map, with trackers highlighting a reported location. For context, check out this AWS Front-end Web and Mobile blog post.

Beyond the above-mentioned samples and blog posts, here are other resources available for you to explore:

Resources for Portuguese Speakers:

Resources for Spanish Speakers:

You can provide feedback or ask questions related to any of the resources mentioned above on AWS Developer Forums.

About the authors

Drishti Arora

Drishti Arora is an Associate Cloud App Consultant within Shared Delivery Teams at HAQM Web Services. Drishti works with AWS customers to help them in their cloud journey and provide cloud solutions with Application Development.

Panna Shetty

Panna Shetty is a Sr. Technical Account Manager with HAQM Web Services (AWS), working with public sector customers and has over 18+ years experience in the software industry.