search for: routeresults

Displaying 1 result from an estimated 1 matches for "routeresults".

2008 Mar 03
0
Routing through LatLng points and other stuff
...ew MQLocationCollection(); var routeOptions = new MQRouteOptions(); for (var i=0;i<points.length;i++) { var geoAddr = new MQGeoAddress(); geoAddr.setMQLatLng(new MQLatLng(points[i].lat, points[i].lng)); waypoints.add(geoAddr); } var session = new MQSession(); var routeResults = new MQRouteResults(); var routeBoundingBox = new MQRectLL(new MQLatLng(),new MQLatLng()); var sessId = this.routers[api].createSessionEx(session); this.routers[api].doRoute(waypoints,routeOptions,routeResults,sessId,routeBo undingBox); var routeParameters = new Array(); rout...