<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>When I tried it,&nbsp; I got </FONT></DIV>
<DIV><FONT face=Arial size=2>Error: Permission denied&nbsp; (line 14, Char 
2)&nbsp; if I used IE6, </FONT></DIV>
<DIV><FONT face=Arial size=2>and if I used Firefox I 
got:&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2>Error: uncaught exception: A script from 
"http://..." was denied UniversalBrowserRead privileges.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Tried looking at the code, but my javascript skills 
need some work :)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Also, how legal is using a script like 
this?&nbsp;&nbsp; I'm especially interested in doing something like this for 
geocoding, but in their terms and services it says (among other 
things):</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2><EM><STRONG>No Automated Querying</STRONG> </EM></FONT></DIV>
<P><EM>You may not send automated queries of any sort to Google's system without 
express permission in advance from Google. Note that "sending automated queries" 
includes, among other things: </EM>
<UL>
  <LI><EM>using any software which sends queries to Google to determine how a 
  website or webpage "ranks" on Google for various queries; </EM>
  <LI><EM>"meta-searching" Google; and </EM>
  <LI><EM>performing "offline" searches on Google.</EM></LI></UL>
<DIV>Now, I know this isn't doing anything with webpage ranks, meta-searching, 
etc.. but it is still an automated query.&nbsp;&nbsp;&nbsp; Was just curious if 
there were any legal implications to doing this kind of thing?.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-Jeff</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=andy.canfield@GMAIL.COM href="mailto:andy.canfield@GMAIL.COM">Andy 
  Canfield</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=MAPSERVER-USERS@LISTS.UMN.EDU 
  href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, May 03, 2005 1:09 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [UMN_MAPSERVER-USERS] Using 
  Google Maps</DIV>
  <DIV><BR></DIV>To all,<BR>&nbsp;&nbsp; &nbsp;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.<BR>Thank you,<BR>Andy</BLOCKQUOTE></BODY></HTML>