> If you rewrite your panMap() to accept parameters, you could specify a
> different panMap(yy,xx) in each of your pages <body onload=...> calls.

akk, that's tosh on my part.
   <body onload='somefunction' ...
doesn't allow you to specify paramaters.

An alternative is to embed them on the page somewhere, and have the
function read them out.
A simple
    <script .... > var default_lat = 45.0 ; var default_lon = 3.9 ;
var selected_path = 3 ;</script>
would allow your function to access them directly as global variables.
Or you could do something more elaborate by hding them in hidden html
elements and having the javascript read them by id etc.

cheers, Ross K

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to