PDA

View Full Version : Address fields that connect with google maps


amnesia623
11-11-2006, 03:13 AM
This could easily be used for a business-type directory if there was a way to allow costum fields for address to link to google maps

ie...

http://local.google.com/maps?f=q&hl=en&q=[street address field1]+[city field]+[state field]+[zip field]

Is this hard to do?

cfspinner
12-24-2006, 10:53 AM
This could easily be used for a business-type directory if there was a way to allow costum fields for address to link to google maps

ie...

http://local.google.com/maps?f=q&hl=en&q=[street address field1]+[city field]+[state field]+[zip field]

Is this hard to do?

I would Definitely want to see something like this!

Our Sponsors
 

Brian
12-26-2006, 02:59 PM
You could add those custom fields, and then edit your 'ADV_LINKS_SHOWLINK' template to include some code that looked something like this:

<a href="http://local.google.com/maps?f=q&hl=en&q=$link[field1]+$link[field2]+$link[field3]+$link[field4]">Google Map</a>
Of course you'll need to change 'field1', 'field2', and etc to match the filedid's on your site.