Now I have a really ignorant question. REALLY ignorant, but I think
it's vital. I know this isn't a maps API question. You folks are very
forgiving about this javascript stuff. (There should be a separate
forum for Munging Google Maps Javascript!)
How does the map page know to perform the function boxclick (or
perform something that's the same as function boxclick, which includes
putting a check in the relevant checkbox) just because it gets a
parameter of "category"? The page has functions to show and hide
categories and check or uncheck their boxes. There are lots of places
where the variable "category" shows up.
So how does sending a query that is ONLY a category invoke a function?
What or which function is it invoking? How does the map page know what
to do with "value = query.substring(pos+1);"? For instance, in Mike's
linktothis example, he parses the arguments and gets values. Then he
plugs those values into the map.setCenter(new GLatLng(lat,lng), zoom,
maptype) command. All well and good.
But what is Ralph's demo map page actually DOING? I ask because I'm
going to have to set up something like Mike's
// process each possible argname
if (argname == "lat") {lat = parseFloat(value);} etc.
when I want to have a URL like this:
<a href="http://Ralph.Ames.googlepages.com/becat.html?
category=Credits&marker=26">
so that I can have a category "invoked" with its checkbox checked
***AND*** open the infowindow for a particular marker in that category.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---