search for: geoaddr

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

Did you mean: gaddr
2008 Mar 03
0
Routing through LatLng points and other stuff
...or the route */ MapstractionRouter.prototype.routePoints = function(points) { var api = this.api; switch (api) { case ''mapquest'': var waypoints = new 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.ro...