Using Google Maps

Andy Canfield andy.canfield at GMAIL.COM
Tue May 3 10:09:11 PDT 2005


To all,
I have created an example of how to use Google Maps in your own web pages 
for routing, geocoding, directions etc. I have a sample web page and all the 
code is within that page. I'm sure once folks see what I'm doing they will 
be able to add it to their own Mapserver pages fairly easily. I am going to 
try and add the page to this e-mail as a .zip file. If my gmail strips it 
out please feel free to e-mail me and I will send you a copy of the zip file 
from another account. The source will show you how to feed an address to 
Google Maps and get back the Lat, Lon of that address. It will also show how 
to feed Google Maps a from and to route request and get back the directions 
and the polyline coordinates of the route. The source code is intended as 
example only and I leave it up to you to how you want to add that data to 
your Mapserver implementations. Google Maps does have restrictions to using 
their API so you must abide by them if you decide to implement this example. 
If there are any errors in the source please let me know so I can fix them. 
So far I have only tested this with Mozilla and IE6.
Thank you,
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050503/1567bbe9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ExtractGoogleMaps.zip
Type: application/zip
Size: 2421 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050503/1567bbe9/attachment.zip>


More information about the MapServer-users mailing list