Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Pointing to Google maps with ASP

Reply
Thread Tools

Pointing to Google maps with ASP

 
 
.Net Sports
Guest
Posts: n/a
 
      11-11-2009
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 can't find a source that has this for Google maps.

??
NS
 
Reply With Quote
 
 
 
 
Adrienne Boswell
Guest
Posts: n/a
 
      11-11-2009
Gazing into my crystal ball I observed ".Net Sports"
<(E-Mail Removed)> writing in
news:(E-Mail Removed):

> 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=&add
> r=<%= rslist("address") %>&csz=<%= rslist("city") %>%2C%20<%= rslist
> ("state") %>%20<%= rslist("zip") %>&country=us
>
> i can't find a source that has this for Google maps.
>
> ??
> NS
>


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&sour...eocode=&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=14 50
+Pennsylvania+Ave+SE,+Washington,+District+of+Colu mbia,+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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Calendar and Google Maps ThaddaeusBrettAyers@gmail.com Computer Support 1 01-25-2008 11:22 PM
Looking for Google API expert to consult on our Google hosted apps(calendar, maps, email, docs) styles@xlsuite.com Ruby 0 11-20-2007 04:21 AM
MSN maps vs. Google maps Ralph Fox NZ Computing 0 07-30-2007 10:30 AM
google maps - alternative to google earth Martik Computer Support 9 01-12-2006 07:49 AM
bridging Google Earth and Google maps in script cybarber@gmail.com Java 2 11-28-2005 02:51 PM



Advertisments