Displaying 1 result from an estimated 1 matches for "routeboundingbox".
2008 Mar 03
0
Routing through LatLng points and other stuff
...ns = 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();
routeParameters[''results''] = route...