Our app uses OpenLayers with the Google Map layer.I want to know if it is possible to render directions using the DirectionsRenderer api of Google Maps on this OpenLayers map?
I have a list of points with x, y coordinates. I know how to get the distance between points with sqrt(pow($x2 - $x1, 2) + pow($y2 - $y1, 2)) and the angle between points withatan2(y1 - y2, x1 - x2).
At the moment I am using this code to inquire google maps for directions from an address to another one, then I simply draw it on a mapview from its GeometryCollection. But yet this isn\'t enough I ne
Is it possible to use the Google Maps API router just using HTTP? Something like http://maps.google.com?from=blah?to=blah
is there a way开发者_如何学编程 to use core location or google or some other api to provide two points on the map and get the resulting set of latitude/longitude pairs for the route?