Thursday, April 25, 2013

How do you measure how many miles there are when using Google Maps?

Q. I need to be able to measure how many miles it is from one place to another on Google Maps. But I don't know how. Could someone please help me? Thanks so much to everyone who answered.

A. Google maps labs (a little green chemical bottle in the top right) has an option to add a distance measurement tool. Apparently it is "not ready for prime time" but works well for me.

How do you get google maps on your site?
Q. I want to insert a google maps feature on my site. I want to view certain locations that are listed on my site via google maps on my website. How do I do this?

A. first you need to have api key
http://www.google.com/apis/maps/signup.html
use that adress to take it then. you can use simple exmples from their site.
http://www.google.com/apis/maps/documentation/examples/index.html

you need to know longtitude and latitude data to point the location. here is example code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Google Maps JavaScript API Example: Simple Map</title>
<script src="http://maps.google.com/maps?file=api&v=2"
type="text/javascript"></script>
<script type="text/javascript">

function initialize() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
}
}

</script>
</head>
<body onload="initialize()" onunload="GUnload()">
<div id="map_canvas" style="width: 500px; height: 300px"></div>
</body>
</html>

if you dont take api of your own your site could not show the maps.

How (if possible) can I get Google maps for my phone which speak navigation directions?
Q. How (if possible) can I get Google maps for my phone which speak navigation directions? I'm on a Windows Mobile 6.1 phone.

A. You will need to go to the google website and see if they support speech navigation google maps for Windows phones. They should also provide you a link to get the application to your phone.




Powered by Yahoo! Answers

No comments:

Post a Comment