REST APIs
API Overview
Map Image API
The Map Image API is a web service API that offers easy and fast access to pre-rendered map images for all regions of the world. You can use this service to display a specific geographical position and points of interest. To retrieve a map image, the user formulates a request that combines the URL and a set of parameters to specify details such as position, radius, zoom level, map type, etc. A request, consisting of a URL and parameters, can be shared via SMS, and you can embed the resulting map images in your own applications. Read more..
Places API
The Places API is a web service API that allows you to offer your application's users HERE's Places service as available in HERE Maps and other applications within the look & feel of your own application. The Places service supports a variety of use cases that center around two major features:
Place discovery – Help users find the places relevant to them
Place information retrieval – Provide detailed information about places users are interested in
The API follows the RESTful principles. It defines resources that represent the entry points for the supported use cases and uses hypermedia links to describe the application flow within a selected use case. Read more..
Add a static map to your website with Map Image API in 2 easy steps
-
Add the doctype declarations and HTML header
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns ="http://www.w3.org/1999/xhtml"><head> <title>My first HERE Maps web page</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=7" ; IE=EmulateIE9/> </head> -
Add the <body> section and Map Image API call to fetch the static image of the map.
<body> <h1>My first HERE Map!</h1> <img id="gmapcanvas" src="http://m.nok.it/?c=0,0&w=600&z=1&nord&nodot" alt="Hello World" /> </body> </html>You could see Rest APIs in action in API Explorer, or visit community wiki for similar examples-
REST API
Documentation for the Map Image API and the Places REST API.