IIS - Pointing to Google maps with ASP

Asked By .Net Sports
10-Nov-09 10:27 PM
i'm not sure what newsgroup to ask, but i have some dynamic asp code
that displays addresses and such from a recordset, and i want users to
click on an icon that sits aside the dynamic address to find the
location via yahoo maps, but I want to use this to go to Google maps.
Here is my Yahoo example:
http://maps.yahoo.com/py/lg:/lc:/maps_result?BFCat=&Pyt=Tmap&newFL=&addr=<%=
rslist("address") %>&csz=<%= rslist("city") %>%2C%20<%= rslist
("state") %>%20<%= rslist("zip") %>&country=us

i cannot find a source that has this for Google maps.

??
NS
BFCat
(1)
NewFL
(1)
Pennsylvania
(1)
Columbia
(1)
Arbpen
(1)
Tmap
(1)
Pyt
(1)
Ballz2wall
(1)
  Adrienne Boswell replied to .Net Sports
11-Nov-09 06:09 PM
Gazing into my crystal ball I observed ".Net Sports"

BFCat=&Pyt=Tmap&newFL=&add

Google is just about the same, and you can actually do more server side,
like make maps and such.  Look into getting a Google API key, and then
you can have maps, directions, etc.

For what you want to do, you just have to do a Google map request and
take a look at the query string, then replace that with your own
information.

http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=1450
+Pennsylvania+Ave+SE,+Washington,+DC+20003-3029&sll=38.895342,-77.033472
&sspn=0.006396,0.013411&gl=us&ie=UTF8&hq=&hnear=1450
+Pennsylvania+Ave+SE,+Washington,+District+of+Columbia,+20003&z=16

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Create New Account
help
any ideas? Thanks, Paul - - FrontPage Programming Discussions LUzKSabII6LnnQfZ (1) Willett (1) Cleaner (1) Mike (1) Pennsylvania (1) Navclient (1) yah, you probably pasted some junk into the html or you deleted code: marginheight = "0" marginwidth = "0" src = "http: / / maps.google.com / maps?sourceid = navclient&q = 1600+pennsylvania+ave+nw+washington+dc&ie = UTF8&split = 0&gl = us&ei = LUzKSabII6LnnQfZ_5SYAw&z = 14&iwloc output = embed"> <br / > <small> <a href = "http: / / maps.google.com / maps?sourceid = navclient&q = 1600+pennsylvania+ave+nw+washington+dc&ie = UTF8&split = 0&gl = us&ei = LUzKSabII6LnnQfZ_5SYAw&z = 14&iwloc Pepper] Willett Microsoft MVP - FrontPage - -- -- -- -- -- -- -- -- -- -- -- -- -- src = "http: / / maps.google.com / maps?sourceid = navclient&q = 1600+pennsylvania+ave+nw+washington+dc&ie = UTF8&split = 0&gl = us&ei = LUzKSabII6LnnQfZ_5SYAw&z = 14&iwloc 77.032442&output = embed"> <br href = "http: / / maps.google.com / maps?sourceid = navclient&q = 1600+pennsylvania+ave+nw+washington+dc&ie = UTF8&split = 0&gl = us&ei = LUzKSabII6LnnQfZ_5SYAw&z = 14&iwloc problem. marginheight = "0" marginwidth = "0" src = "http: / / maps.google.com / maps?sourceid = navclient&q = 1600+pennsylvania+ave+nw+washington+dc&ie = UTF8&split = 0&gl = us&ei = LUzKSabII6LnnQfZ_5SYAw&z = 14&iwloc output = embed"> <br / > <small> <a href = "http: / / maps.google.com / maps?sourceid = navclient&q = 1600+pennsylvania+ave+nw+washington+dc&ie = UTF8&split = 0&gl = us&ei = LUzKSabII6LnnQfZ_5SYAw&z = 14&iwloc