Using Amazon Location Maps in your application - Amazon Location Service

Using Amazon Location Maps in your application

Amazon Location maps are cost-effective and interactive. You can replace an existing map in your application to save money, or add a new one to display location-based data visually, such as your store location.

            Example map style in an app, showing parks mapped in central Seattle

To add a map to your application

  1. Choose the map style that you want to use.

    1. In the Amazon Location console, on the Maps page, choose Create map to preview map styles.

    2. Add a name and description for the new map resource.

    3. Choose a map.


      If your application is tracking or routing assets that you use in your business, such as delivery vehicles or employees, you may only use HERE as your geolocation provider. For more information, see section 82 of the AWS service terms.

    4. Agree to the Amazon Location Terms and Conditions, then choose Create map. You can interact with the map that you've chosen: zoom in, zoom out, or pan in any direction.

    5. Delete map styles that you don’t want to use on the Maps home page in the console. To allow your users to switch styles (for example, to allow them to switch between satellite imagery and vector style), you must create a map resource for each style.

  2. Set up authentication.

    1. To display a map on a website, we recommend using Amazon Cognito unauthenticated user pools. For more information about how to create and configure an Amazon Cognito identity pool for use with Amazon Location, see Allowing unauthenticated guest access to your application using Amazon Cognito.

  3. Do one of the following to display a map in your application:

    • Use the AWS Amplify Geo SDK, which is the most efficient way to display a map on your website, or in any JavaScript application. To use Amplify in your application, follow the Amplify tutorial.

    • To display a map in your Android and iOS applications, or if you prefer not use Amplify Geo, follow the MapLibre tutorial. To use Tangram to render your map, follow the Tangram tutorial.