On Mar 13, 8:32 pm, Lara <[email protected]> wrote:
> I want to be able to pas "clickablepolys:false" or
> "clickablepolys:true" into a new GeoXML (or EGeoXML) using a variable.
> How do I do this. The code below does not work.
It doesn't work because you're passing a string. You might as well
write
{"clickablepolys:true",nozoom:true}
and you can't set a property like that.
Set a variable to either true or false and use that:
var polyclickable = true;
var polyclickable = false;
....{clickablepolys:polyclickable,nozoom:true}
Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---