Hi, I want to show one place in my country on google map in my web page. But currently that page is not in the Google Maps and also I don't want to add it to the google maps. What i want is mark that place temporary in google maps and get embed map to my web page. How can I do it?
|+0 forum 1|
|+0 forum 3|
0 down vote favorite In new google map there are several travel mode like driving, bicycling, walking and transit but they also added fly mode also. I can choose fly mode in new google map but i cant get fly travel mode in google maps v3 api. I want to to show fly distance between two cities on my site like google map shows on google map. http://maps.googleapis.com/maps/api/directions/xml?sensor=false&origin=Lahore&destination=Multan&mode=driving $base_url = 'http://maps.googleapis.com/maps/api/directions/xml?sensor=false'; $xml = simplexml_load_file("$base_url&origin=Lahore&destination=Multan"); echo $distance = (string)$xml->route->leg->distance->text; echo $duration = (string)$xml->route->leg->duration->text driving, walking and other modes are working but fly is not working.
|+0 forum 2|