Draw an HTML box on the page the size and shape you want the Google map to display, and name it “map”. Make sure nothing else on the page is named the same, and you have a fairly good chance that your box will have the ID map, which is critical for this to all work.
Draw an HTML box on the page the size and shape you want the Google map to display, and name it “map”. Make sure nothing else on the page is named the same, and you have a fairly good chance that your box will have the ID map, which is critical for this to all work.
I don’t see it on your page.
David
yes, i did draw an html box and that item is named map. now, the word map appears in the navigation links. could that be throwing things off?
okay, i see i missed a opening quotation mark from Waltd’s example. upon reload, now i get a message that i need a new API key. going back to google with the same domain name generates the same key so i know i have the right one.
google’s example for inserting javascript code looks like the waltd demo example except for this part “v=2&sensor=true_or_false&key=ABQ…” and google info says: " Note: you will need to replace the sensor parameter below with either an explicit true or false value."
i don’t know code so maybe that true/false thing is accounted for. or maybe those directions don’t apply? i’m lost.
If you get a key from Google, then that key will only work if you are
viewing the map from your Web server. It’s dependent on the domain
part of the host that’s used to request the map, so if you’re looking
at this from your desktop, it will never work no matter what key you
put in it.
Walter
On Dec 11, 2009, at 11:38 AM, deidremc wrote:
okay, i see i missed a opening quotation mark from Waltd’s example.
upon reload, now i get a message that i need a new API key.
got it. the html box i drew in Freeway needed to have the layer option checked! (and the quote mark i thought was needed was miss placed so i had to take it out again. that stopped the Get New API message.)