Nokia Maps API Reference

Contents

Class nokia.maps.routing.component.RouteResultSet

Class Summary

This class represents a route calculation result set. It can be initiated with a response from a route calculation request and provides methods to handle this response in combination with a map.

The constructor initializes an instance of RouteResultSet on the basis of the arguments supplied by the caller. A new instance can be created, using a response to a route calculation request.

Field Summary
nokia.maps.map.Container container This property holds a container for map markers and a calculated route (the results of a route calculation request).
Constructor Detail

This class represents a route calculation result set. It can be initiated with a response from a route calculation request and provides methods to handle this response in combination with a map.

The constructor initializes an instance of RouteResultSet on the basis of the arguments supplied by the caller. A new instance can be created, using a response to a route calculation request.

new nokia.maps.routing.component.RouteResultSet(routedata, settings)
Parameters:
{nokia.maps.routing.Route} routedata The route data which represent the results of a route calculation
{Object} settings An optional hash object specifying settings for the drawing of the route; the possible attributes are as defined under nokia.maps.map.Polyline.Properties and include:

  • "color" - the color of the route
  • "width" - the width of the route in pixels

Field Detail
This property holds a container for map markers and a calculated route (the results of a route calculation request).
Documentation generated on Tue May 08 2012 10:23:38 GMT+0200 (CEST).