So, i have found a solution.
I can't believe why it happened so late....
I solved it with CSS:
#iw_kml{
max-height:100px;
width:220px;
overflow:auto;
}
#iw_kml div{
width:200px;
max-width:200px !important;
}
Thank you for all your answers.
I hope my solution will help many others :)
-Kevin
RaveKev schrieb:
> Hello,
>
> i am using the googlemap on www.coldfusionsites.com to show, where
> coldfusion is used.
>
> The information for the markers is stored in a KML-File.
> There is a "description"-Tag which contains a lot of information for
> each marker.
>
> Because the informationAmount is so huge, the Infobox is getting too
> big.
> Is it possible to set the size of that infobox?
>
>
> I am loading the kml-files that way:
>
>
> function reloadKML(){
> var zoomstufe = map.getZoom();
> if(zoomstufe <= 4){
> kmltype = "countries";
> map.clearOverlays();
> var geoXml = new
> GGeoXml("http://www.coldfusionsites.com/assets/
> countries.kml?<cfoutput>#TimeFormat(now(), "HH:mm:ss")#</cfoutput>");
> map.addOverlay(geoXml);
> }
> else if(zoomstufe <= 8){
> kmltype = "cities";
> map.clearOverlays();
> var geoXml = new
> GGeoXml("http://www.coldfusionsites.com/assets/
> cities.kml?<cfoutput>#TimeFormat(now(), "HH:mm:ss")#</cfoutput>");
> map.addOverlay(geoXml);
> }
> else if(zoomstufe >= 9){
> kmltype = "sites"
> map.clearOverlays();
> var geoXml = new
> GGeoXml("http://www.coldfusionsites.com/assets/
> sites.kml?<cfoutput>#TimeFormat(now(), "HH:mm:ss")#</cfoutput>");
> map.addOverlay(geoXml);
> }
> }
> ---------
> -- GERMAN
> ---------
>
> Hallo,
>
> ich habe auf meiner Seite www.coldfusionsites.com eine GoogleMap
> eingebunden, und möchte anhand der Markern anzeigen, wo coldfusion
> genutzt wird.
>
> Um die Marker zu setzen habe ich eine KML-Datei die generiert wird.
>
> Aber wenn ich die Descpription (der Text für die Infobox) per KML
> setze, kann ich nicht angeben, wie groß die InfoBox von der GoogleMap
> sein soll. Dadurch kommt es, dass einige InfoBoxen viel zu riesig
> sind, sobald mehr als 5 Informationen drin stehen.
>
> (Kann man beim Klick auf die Marker für Deutschland sehen)
>
>
> Hat jemand eine Idee, wie ich die Größe der InfoBox festlegen kann,
> auch wenn ich die Informationen per KML setze?
>
>
> Vielen Dank schon mal im Vorraus,
>
> Kevin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---