> Sorry, now it's correct now.
Not on the webpage I am looking at, It includes within your
initialize() code
setDirections("Badalona", "Barcelona", "es");
which will call your
function setDirections(locale, fromAddress, toAddress1)
with "Badalona" as the locale, which Google will say is invalid, and
"es" as a destination address, which Google will say is invalid. I
don't know how else to say it.
> I have a problem, and that is Joomla! uses " <body id="page_bg"> " and I
> can't erase or change it
This isn't the best place to find out how to use Joomla.
> Yes, I don't have ANY experience on javascript, but Google Maps uses this
> language, so I'm forced to use it
If you look around you should find javascript tutorials in your
language. You will find using the Maps API easier if you have at
least a little javascript knowledge. It's like trying to ride a
bicycle before you have even learnt to walk.
None of your problems so far are about Maps, your troubles are with -
Making valid HTML with Joomla
Calling javascript functions with arguments, and being consistent with
the order.
Using javascript strings - testing for content, conditionally
concatenating strings together to make a sensible single string for
Directions, and so on.
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.