On 10/09/2009, Grok Lobster <[email protected]> wrote: > > I believe the only solution is to create a 32x32 icon that appears the > way you want it to. >
Either that, or create/use a different KML parser - that does more with the Icon param. Its fundementally a limiation of GGeoXml rather than Google Maps (API) itself. > > On Sep 10, 9:08 am, imsnyder <[email protected]> wrote: > > When displaying a KML file in Google Maps, either in maps or using the > > API function GGeoXml, the Icons are streched to 32 x 32. > > > > On Google Earth theylook correct. Is there a way to change the Icon > > Attributes in the KML file that Google Maps will support to adjust the > > Icon display size? > > > > Here is the IconStyle code in KML: > > > > <Style id='Brown'> > > <IconStyle> > > <color>ffff80ff</color> > > <Icon> > > <href>http://bcsmaps.govtools.us/locations/icons/b_brown.png</href> > > </Icon> > > </IconStyle> > > <LabelStyle> > > <color>00000000</color> > > </LabelStyle> > > <BalloonStyle> > > <text>$[description]</text> > > </BalloonStyle> > > </Style> > > > > Ading a <scale>0.5</scale> has no effect! > > > > Thanks, > > Michael > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
