On Aug 5, 10:29 am, james <[email protected]> wrote:
> Hi all,
>
> I'm using the google maps API to load kml content to display threat
> levels on a per country basis. So far I have adapted mapeteria to load
> my kml and have attached a listener to listen for when a user clicks
> on a placemark. This then triggers an AJAX call to load that countries
> data. The only problem is that some of the data is too much to fit
> into the initial balloon size so the content overflows - this can be
> replicated by clicking on most of the countries at the URL below:
>
> http://first4quality.co.uk/neogic/maps/test.php
>
> I have tried adjusting the height of the appropriate div using
> javascript however this didn't work. Can anyone give me any pointers
> on how to get this to work. Note: the data MUST be loaded in via AJAX
> for bandwidth and technical reasons.

You could try populating the contents in a DOM object, then using
openInfoWindow on that (rather than openInfoWindowHtml).  Don't know
if it will work, but it might allow you to pre-calculate the size if
it doesn't.

  -- Larry

>
> Thanks in advance,
> James
--~--~---------~--~----~------------~-------~--~----~
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