Back to developer main page.


A simple and quick examples with Ovi Maps API

Downloads are hosted at Nokia Developer wiki

1. Hello world

Shows simple few lines of code for getting the map to show.

2.1 Basic interaction

Shows some basic interaction functionalities with the map like zooming, tilting, rotating & moving. As well as shows changing map type.

2.2 Mouse Events and Map observers

Check for mouse events for the API (behaviour control) as well as DOM events for tha Map div. Also Map obersers adding removing included.

3.1 Basic Content Handling

Shows some basic map content handling parts. including Markers, polyline & polygon. Additional functionlity shown are Z-Orders, changing visibility, adding & removing objects from Map as well as from a container, and also changing colors for polygon & polyline

3.2 More on Content Handling

Shows using Rectange & Circle. As well as shows additional functionality, such as changing line width, object location, Circle precision etc.

3.3 Content Handling:: Markers

Draggable marker, with click bringing plain-text info bubble and double click bringing HTML bubble.

3.4 Content Handling:: modify PolyLine

Shows on how to dynamically modify polyline (same code works for polygon)

4.1 Custom control

Simple example on making custom component control and adding/removing it from components array of the map.

5. UI controls & overlays Handling

Shows UI map controls adding & removal as well as overlays dicovery and adding & removing them.

6.1 Rev Geo coding

Shows capturing click events and then converting the pixel value to geo coordinate. Also shows reverce geo coding service handling parts, and using the results from the query.

6.2 Geo coding

Shows geo coding service handling parts and result displaying.

7.1 Simple search

Shows how to use free text search with Radius/Area, Geo coding with different values & Radius/Area as well as places search with categories with Radius/Area.

8. Positioning

Show on how to use the API for getting the address and position of the user, as well as how to use the positioning monitoring.

9. Routing

Shows routing beteen two points and how the handle the routing data and show it in the map.

Please use with FireFox (5.x, or newer) with Firebug (1.5.0, or newer) installed as well as Firebug console active. And hit Ctrl-R to refresh view if it does not load in the beginning...

Still work on progress...