Hi
I'm building wrt widget for N8 and I'm trying to integrate ovi maps with markers and ability to drag and zoom map. I followed an example from http://api.maps.ovi.com/devguide/getting_started.html
I can make the following code working:
var map = new ovi.mapsapi.map.Display(
document.getElementById("map"),
{
'zoomLevel': 10, //zoom level for the map
'center': [52.51, 13.4] //center coordinates
}
);
But when I try to add map.addComponent( new ovi.mapsapi.map.component.panning.Drag() ); this doesn't activate map drag.
Also if I add map.addComponent( new ovi.mapsapi.map.component.ZoomBar() ); map doesn't appear at all.
It all works in Firefox though.
I'd be very grateful for any help or ideas.
Maxim.

Reply With Quote

