Hi

As you probably know, a infoWIndow can be opened  with optional
maxContent and maxTitle properties (in the infoWindowOptions). If you
do that, the infowindow will be 'maximizable', showing a little plus
sign.

In my particular app, I load all the markers from KML. The infowindow
by default contains the kml 'description', and have no 'maxcontent'
set. I have little control over how the markers get added to the map.
But I can have links/data *within* the kml description that point to a
maxContent (eg an external page) for that particular marker/
infowindow.

So you would assume its not so hard to change the maxContent of an
infowindow while its open. But I cant figure it out. Here's the
question: is that possible ?

I did find a working workaround. I now have links inside the kml
description that  call a script that closes the infowindow and
recreates it at the same point with the additional maxContent set. But
it looks a bit dodgy ( there's no plus sign - click the link and the
balloon shrinks, comes back again, waits a second, then maximizes),
but it works. Is there a better way ?

curious,
*-pike

PS in case you're wondering - to have the 'magic links' inside the
kml, I needed to use a different kml parser, not GGeoXml but plain
GeoXML or EGeoXML. That's not related to the question imho.


--~--~---------~--~----~------------~-------~--~----~
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