Maps API for JavaScript

The Maps API for JavaScript allows you to embed an interactive Nokia Map in a Web site with only a few lines of code. The API includes a rich set of functions that support map rendering, UI management, local search and discovery, retrieval of rich place data, and route calculation and display. You can customize the map by adding layers with custom content.

With the available UI elements, you can allow the user to control map panning and zooming, select a map view (conventional map, satellite, or terrain) and display complete places information.

Features

UI

 

HTML5

Enrich your map application with a scalable UI, which adapts its size according to the screen resolution, and provide easy accessibility on both desktop and mobile platforms.

 

Boost your mapping application thanks to the API's full support for HTML5 – the API leverages the capabilities of modern Web browsers, such as Canvas rendering, achieving impressive performance gains, particularly on mobile devices.

Search

 

Rich place content

Run searches for places based on their names, addresses, or even geographical coordinates. You can specify the center around which to search, the maximum radius around that center, the maximum number of hits you'd like to see, and you can use recommendations or suggestions based on previous results – the multiple options put you in charge of what your application offers.

 

The search functionality puts place content at your disposal. The users of your application can view a description of each place, with full address and contact details. They can also visit the related Web site, vie images or play movies and sound clips.

Routing

 

KML

Calculate routes and add them to the map – specify the start, destination and choose from presets such as "shortest route" or "avoid ferries".

 

Integrate KML assets from other sources – parse and import previously created geospatial data and show the content on the map without having to recreate it manually.

Public transport

 

Traffic data

Add a public transport layer to the map, using simple JavaScript calls.

 

Use the API to reflect the current traffic conditions on the map.

Positioning

 

Heat maps

Leverage built-in W3C-compliant positioning features of your browser – the API allows you to pick up the positioning information from the browser and make use of it, for example, by displaying the current position, or in distance and route calculations, etc.

 

Use heat maps to create intuitive, colorized visualizations of data sets. Both plain coordinates and KML data sets supported as input.

Desktop and mobile browsers

 

Observable objects

The Places JavaScript API is suitable for development targeted at both desktop and mobile browsers.

 

Use observable objects for efficient monitoring of state changes – lists and arrays supported by the API provide information about state changes in a generic manner, which eliminates the need to listen to hundreds or thousands of predefined events.



Visit the Maps API site

Other resources

Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2012 All rights reserved