Current location: Hot Scripts Forums » Programming Languages » PHP » mapquest / yahoo maps


mapquest / yahoo maps

Reply
  #1 (permalink)  
Old 07-06-05, 04:57 PM
doveroh doveroh is offline
Newbie Coder
 
Join Date: Nov 2004
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
mapquest / yahoo maps

Hello,

I was wondering if anyone knew how to get a map from mapquest or yahoo maps to appear with your php script. I have listings of businesses and I want to add a map where the business is located by giving the following variables:
$address
$city
$state

I have seen it done on apartments.com

Any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 07-07-05, 06:07 AM
olaf's Avatar
olaf olaf is offline
Newbie Coder
 
Join Date: Sep 2004
Location: The Netherlands
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

I'm not sure, but I think you need the coordinates, noticed last time something similar:

http://www.ip2nation.com/ip2nation/S...oogle_Maps_API
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 07-07-05, 11:44 PM
bannme bannme is offline
Newbie Coder
 
Join Date: Jun 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Try on this, it will redirect with a new window to mapquest.
PHP Code:

echo "<tr><td><a href=\"http://www.mapquest.com/maps/map.adp?searchtype=address&formtype=search&addtohistory=&country=$country&address=$address&city=$city&zipcode=$zipcode&submit=Get+Map&level=5\" target=\"blank\">View Map

    </a></td><tr>" 
I'm still trying to return the map in own site

BTW: If you want the map as main page, you need to create your own one. The best one I ever saw for map for directory or yellowpages is phpyellow
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yahoo upgrades email! priyanka-m6.net The Lounge 8 11-19-04 06:22 PM
Yahoo Groups kinda script hstl Script Requests 2 11-14-04 02:52 PM
php on Yahoo T-ROCK PHP 4 02-29-04 08:59 PM
yahoo stocks history problem makeshift PHP 5 02-25-04 05:32 PM


All times are GMT -5. The time now is 08:51 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.