Please help.
I'm looking for a way to zoom to the extent of a polyline feature that
is returned by this function:
function processResults(results) {
var message = "Route Successfully Found";
UpdateAppStatusBar(message);
if (results.routes) {
var r = results.routes.features;
for (var i = 0, I = r.length; i < I; i++) {
var rte = r[i].geometry
//gmaps.ags.Util.addToMap(map, r[i].geometry);
gmaps.ags.Util.addToMap(map, rte);
routes = routes.concat(r[i].geometry);
}
}
}
I'm looking for the bounds of the routes.
url to my app: http://mtcgis.mtc.ca.gov/btp/rtp/
Thanks in Advance for any help offered.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.