As I understand there is no way to do this in standard google maps api On 10 Lis, 10:52, Martin <[email protected]> wrote: > Look at other (3rd party) KML parsers if you want to do that. > > EGeoXMLhttp://econym.org.uk/gmap/egeoxml.htm > > or > > GeoXmlhttp://www.dyasdesigns.com/geoxml/ > > Both should do as you want. > > Martin. > > On 10 Nov, 08:58, Chris <[email protected]> wrote: > > > Hi, > > I use kml files with many areas. I load the klm file in this way: > > var kml = new GGeoXml("http://www.test.pl/zasieg/kml/Maly_v109.kml"); > > map.addOverlay(kml); > > > Is there any possibility to make the info window was shown when the > > user move mouse on the area instead of clicking the area. > > I tried to use in different ways GEvent.addListener (also with > > mouseover event ) but it doesn’t work in this way as I want. > > Thanks for any suggestion > > Chris > > > The example kml with one area which I use looks like this: > > > <?xml version="1.0" encoding="UTF-8"?> > > <kml xmlns="http://earth.google.com/kml/2.1"> > > <Document> > > <Placemark> > > <name>Test</name> > > <description> <![CDATA[T<A title="Strona glowna" > > href="http://www.test.com/">Test - strona glowna</A>]]></description> > > <Style> > > <PolyStyle> > > <color>44ff0000</color> > > <fill>1</fill> > > <outline>1</outline> > > </PolyStyle> > > <LineStyle> > > <width>2</width> > > <color>ffff0000</color> > > </LineStyle> > > </Style> > > <MultiGeometry> > > <Polygon> > > <outerBoundaryIs> > > <LinearRing> > > <coordinates> > > 19.0454657772244,49.8939801757434,0 > > 19.0437506322451,49.6418372042107,0 > > 19.4291287104819,49.6410479830996,0 > > 19.4303042741688,49.6740265652677,0 > > 19.6048222012394,49.6738487612257,0 > > 19.6082036929131,49.8930599598324,0 > > 19.0444824585285,49.8939810706612,0 > > </coordinates> > > </LinearRing> > > </outerBoundaryIs> > > </Polygon> > > </MultiGeometry> > > </Placemark> > > </Document> > > </kml>
-- 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=.
