> I now want to have custom data displayed in the balloons based on the > colour (threat level) of the country. The problem is that the KML data > is kept in a flat text file and aside from parsing using PHP I can't > change the description dynamically.
You're using GGeoXml to parse the KML data, that happens at Google's servers. You get little control over what it does, before it returns data (in a JSON and/or image tile form) to render at the client API. I would imagine it automatically discards any javascript to prevent cross-domain threats to the user. There are alternative client-side parsers that will allow you any amount of customisation, if you can code it. 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 -~----------~----~----~----~------~----~------~--~---
