Venue Maps API Developer's Guide

Requesting an Image Tile

The user wants to see venue information for Union Station in Chicago, USA. They are on the ground floor of the station and they want to see a specific section of the venue map.

To draw a Venue Maps API overlay using tiles, a simple request must provide:

  • A Quadkey - this is the unique identifier of the map area to request.
  • The type of resource that you want to request - in this case a PNG image.
  • Path variables which describe other details of the request such as the required zoom Level and floor level.

  • Your authentication parameters.

The example below shows a request for a venue map tile at zoom level 20, showing floor Level 0, for the quadkey 03022223103013033.

Request

The following example shows how to request an image tile in the PNG format. For the full reference, see Image Tiles.

http://static-3.venue.maps.api.here.com/0/tiles-png/L0/03022223103013033.png?
  Policy={YOUR_GENERATED_POLICY}
  &Signature={YOUR_GENERATED_SIGNATURE}
  &Key-Pair-Id={YOUR_GENERATED_KEY_PAIR_ID}
  &app_id={YOUR_APP_ID}
  &app_code={YOUR_APP_CODE}

To calculate which quadkey corresponds to a longitude and latitude for a particular zoom level, refer to the Normalized Mercator projection

Response

This request returns a transparent venue tile image for a part of the ground floor of Union Station in Chicago, USA. To find out which quadkey corresponds to a longitude and latitude for a particular zoom level, see The Mercator Projection.

Figure 1. Part of the ground floor of Union Station in Chicago, USA