|
Sorry, I guess my question wasn't stated clearly. I'm not talking about difficulty - more like code bloat.
I was asking why you wouldn't just copy the browser bar address right from an address search instead of going to Mapquest's link generator page. The address bar URL is faster & easier to grab, gets you to the same map, and is much shorter.
As an example, here's an address link copied from the browser address bar (href added, of course):
<a href="http://atlas.mapquest.com/maps/map.adp?formtype=address&country=US&popflag=0&lati tude=&longitude=&name=&phone=&level=&addtohistory= &cat=&address=1234+North+Main+St.&city=Orange&stat e=CA&zipcode=92867-3468">Map of 1234 N Main St Orange, CA 92867-3468, US</a>
Here's the same link copied from Mapquest's "Link to this map" (Link in a Web Page) copy and paste code:
<a href="http://atlas.mapquest.com/maps/map.adp?address=1234%20N%20Main%20St&city=Orange&s tate=CA&zipcode=92867%2d3468&country=US&title=%3cb %20class%3d%22fn%20org%22%3e1234%20N%20Main%20St%3 c%2fb%3e%3cbr%20%2f%3e%20%3cspan%20style%3d%22disp lay%3ainline%3bmargin%2dbottom%3a0px%3b%22%20class %3d%22locality%22%3eOrange%3c%2fspan%3e%2c%20%3csp an%20style%3d%22display%3ainline%3bmargin%2dbottom %3a0px%3b%22%20class%3d%22region%22%3eCA%3c%2fspan %3e%20%3cspan%20style%3d%22display%3ainline%3bmarg in%2dbottom%3a0px%3b%22%20class%3d%22postal%2dcode %22%3e92867%2d3468%3c%2fspan%3e%2c%20%20%3cspan%20 style%3d%22display%3ainline%3bmargin%2dbottom%3a0p x%3b%22%20class%3d%22country%2dname%22%3eUS%3c%2fs pan%3e%3c%2fspan%3e&cid=lfmaplink2&name=&dtype=s"> Map of 1234 N Main St Orange, CA 92867-3468, US</a>
I don't see the point in using the generated version (maybe it's provided as an alternative for people who don't know how to add the link html?)
I realize I can also build the same link using Mapquest's Variable Name/Value Pairs options, but other than the build string being slightly shorter than the address bar URL, is there any other advantage?
Last edited by Cybersquid; 09-16-2008 at 03:07 AM..
|