Great work! We're still implementing features in this library so love to integrate your changes, if you want to email them to me?
On Oct 6, 8:04 am, DMacLeod <[email protected]> wrote: > I got this to work by updating my local copy of the > KmlDisplayObject.as file. Not sure if it's the best way but it works. > I updated the createGeometryWithStyle function. First I get the href > to the icon from the kml file and based on the icon name, I create a > MarkerOption object and set it's icon value. I then add the > MarkerOption to the Marker. If someone knows a better way to do this > please let me know. > > thanks > > On Oct 5, 3:53 pm, DMacLeod <[email protected]> wrote: > > > > > > > > > I'm loading a kml file (shown below) in Google Maps that references an > > icon that should be displayed for my Placemark. The icon is not > > displayed, a default "Pin" icon is displayed instead. Can someone tell > > me why the icon referenced in the kml file is not being displayed? > > > thanks > > > <?xml version="1.0" encoding="UTF-8"?> > > <kml xmlns="http://earth.google.com/kml/2.2" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://www.opengis.net/kml/2.2http://schemas.opengis.net/kml/2.2.0/og..."> > > <Document xmlns:atom="http://purl.org/atom/ns#"> > > <name>ASSET_VIEW</name> > > <Placemark id="ASSET_VIEW.3"> > > <name><![CDATA[DNS Server 2]]></name> > > <description><![CDATA[ > > ]]> > > </description> > > <LookAt> > > <longitude>-82.39998814260368</longitude> > > <latitude>31.749996436511896</latitude> > > <heading>10.0</heading> > > <tilt>10.0</tilt> > > <range>700</range> > > </LookAt> > > <Style> > > <IconStyle> > > <colorMode>normal</colorMode> > > <Icon> > > <href>http://localhost:8081/geoserver/styles/ > > server.png</href> > > </Icon> > > </IconStyle> > > <LabelStyle> > > <color>ff00ffff</color> > > </LabelStyle> > > </Style> > > <Point> > > <coordinates>-82.39,31.74</coordinates> > > </Point> > > </Placemark> > > </Document> > > </kml> -- You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en.
