[Pro] Google Maps

This may be a dumb question, but does google maps fully work when previewing a site before it is uploaded to a server. I have set one up for a restaurant site I’m working on and have my maps and marker, but if I click on the marker when previewing in Firefox or Safari, nothing happens. I this because I’m not live?

How do I make or get google maps to provide a get directions link either in the marker balloon or with a get directions entry box?

As always any help appreciated.

Jeff


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Nope. If you don’t request the map from the server where you registered the map key, then you don’t get a map. It’s part of how they keep people honest.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walt.

I signed up for the map through the action, went to google, got the key and entered the key into the action and I do get my coordinates. Just no linkage back to google. Will I get the rest working once I upload the page? Will I need to request another key?

Also, will it work if I put it up into a test subfolder?

Also, I did see a test page/site you had once in an old forum post, where you had a box below the map to enter direction type. Can this be done through the FW action?

Jeff


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

As long as that subfolder is on the same domain as the key, then it won’t matter.

The demo page I made was hand-coded and used PHP to change the address sent to the Google Map. I don’t know for sure how you would do that with the FW Action, but you might try this:

  1. Make a form field to hold the address. Name it address.
  2. Set the form to POST to itself (and be sure to end the page filename with .php).
  3. Use the Page / HTML Markup dialog to add the following code to the page in the Before HTML slot: <?php $address = (isset($_POST['address'])) ? $_POST['address'] : 'some default address'; ?>
  4. In the Google Maps Action enter <?=$address?> in place of the address.

That’s pretty much all that my demo page does.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options