Map Image API Developer's Guide

Location Based on Address Search

User Story

The user wants to obtain a map view based on a result of a search using a street address.

Request

You can specify a position using an address instead of latitude and longitude. The following example uses co=germany, ci=leipzig, zi=04109, s=markt and n=9 to set the country, city, zip code, street and house number, respectively.
https://image.maps.ls.hereapi.com/mia/1.6/mapview
?apiKey={YOUR_API_KEY}
&co=germany
&ci=leipzig
&zi=04109
&s=markt
&n=9
&z=17
&h=320
&f=1
Note: This example uses a HERE API Key to authenticate your request. For information on other possible options, see Authentication Guide. For examples of how to use the other authentication options with the Map Image API, see Authentication Examples.

Response

The response to the request delivers the following map image:

Figure 1. A location in Leipzig, Germany, specified by street address