Google Maps

F

Fred the Ted

Does anyone know of a quick way to add Google maps. I've got my API key and
know the longitude, etc, but not sure which bit of code goes where. I've
tried several options but can't get it to work. I use FP 2002. Any help for a
novice would be much appreciated.
 
T

Trevor Lawrence

Fred the Ted said:
Does anyone know of a quick way to add Google maps. I've got my API key
and
know the longitude, etc, but not sure which bit of code goes where. I've
tried several options but can't get it to work. I use FP 2002. Any help
for a
novice would be much appreciated.

Hi "Fred the Ted"
I have spent a bit of time putting a Google Map on this site
http://trevorl.mvps.org/ratec/contact.html using the API. (Go to the bottom,
where it says Google map)

It can be frustrating because there is little feedback as to why something
doesn't work, but I got there in the end.

I wrote a set of functions and called them by
<body onload="mapLoad()">
The only parameters it need are the globals 'lat' and 'long', although I did
add 'zoom' which is the zoom level when the map opens
Of course, mapLoad() itself calls some other functions but it is not all
that complex

If you can state a bit more precisely that you want, I may be able to help.
 
F

Fred the Ted

Hi Trevor,

Thank you for trying to help. What I'm trying to do is add a map as in
http://www.youtravel.com/hoteldetails.asp?HID=4144 to my webpage of the same
hotel. I've tried copying the code from this page and placinging it in the
html of my page and changing the API but it just doesn't show. I notice that
some websites add the JS & API in the head of the page but it still didn't
work when I tried this. Any ideas would be most welcome.
 
T

Trevor Lawrence

Sorry I haven't replied earlier, but I had a busy day yesterday. Maybe today
I'll be less busy.

Anyway, after I do a few more things, I should be able to look at it. That
is, if no-one else has stepped in
 
F

Fred the Ted

Hi Trevor,

Thanks for your help but please don't spend time checking the page I sent
you as I had so many problems I've decided FP & Google maps is a no go.
 
T

Trevor Lawrence

OK I'm off the hook for now.

But it is quite easy (provide one sticks to the rules) so when I have some
more time, I'll do a cut down of the stuff that works for me and see if you
do find it useful
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top