> Sorry about that but you have to understand I have been on this for 3
> days and my patience ran out.
No-one said the maps API was easy.  If you overreach, if you hurry
blindly, you will fail.  You can learn how to get to your goals or
hope someone else will do it for you.

> One thing at a time right? :)
Exactly.

> I have the adsence and adsencebar working on my old map but im having
> trouble getting it to work in your code, any ideas?

Yes.  Take a look at your new test page, a good look.
There are two functions called initialize()
You're only allowed one, else the browser won't know which one to run.
This is basic in just about any programming, not just javascript, and
isn't a maps issue at all.
Try to understand what the code does rather than just copy-paste
chunks and progress will be quicker.

In this case you probably want to bin the first initialize()
altogether, the whole section.
The second one is doing what you want with the Googlebar, so keep that
one.

However, the first one has the code you want for adsense.  You need to
copy that to the second initialize() after the other stuff.  See if
you can work out which is the adsense code, there's not much else in
there.
You can always look at the the documentation too
http://code.google.com/apis/maps/documentation/services.html#AdvertisingAdUnit

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to