Difference between revisions of "Using GPS Data with Google Maps"

From Pvdwiki
Jump to: navigation, search
Line 1: Line 1:
 
Google maps is probably one of the most powerful features within google.
 
Google maps is probably one of the most powerful features within google.
  
<googlemap lat="32.82422" lon="48.481141">
+
<googlemap lat="42.711618" lon="-73.25112">
32.81134, 48.498341, One of many [[gas stations]] in town
+
42.711618, -73.25112, this point is not on a line
32.82448, 48.504848, The [[town hall]]
+
43.224024, -70.28301, neither is this one
 +
#770077
 +
42.202452, -72.83101, this is on a line of color #77077
 +
45.214425, -72.48114, so is this
 +
#668800
 +
42.201324, -70.95811, this starts a second line
 +
43.404142, -73.44514, this is also on the second line
 
</googlemap>
 
</googlemap>
  

Revision as of 17:06, 25 April 2007

Google maps is probably one of the most powerful features within google.

<googlemap lat="42.711618" lon="-73.25112"> 42.711618, -73.25112, this point is not on a line 43.224024, -70.28301, neither is this one

  1. 770077

42.202452, -72.83101, this is on a line of color #77077 45.214425, -72.48114, so is this

  1. 668800

42.201324, -70.95811, this starts a second line 43.404142, -73.44514, this is also on the second line </googlemap>


The API

To use google features within your own html, an API key must be applied for. Each URL needs it's own Key to funtion.

http://www.google.com/apis/maps/signup.html

The google API has specific instructions for adding maps, including GPS tracks to your website.

http://www.google.com/apis/maps/

Sample Code

Googlemapcode.gif

Why Google Maps is better than Google Earth