On Monday, October 21, 2013 8:07:15 AM UTC-7, jarreweb wrote: > Hello to all > > I'm looking for a way to simulate the click on a polygon generate by a kml > file > look at http://www.chambres-hotes.fr/equestre.html > I would like to open the infowindow of the corresponding polygon when the > mouse is over the name on the left > > the same behaviour when mouseover an item (on left) on > http://www.chambres-hotes.fr/equestre_corse_r8.html > > i want to use our own system and not geoxml3 >
Example using geoxml3: http://www.geocodezip.com/geoxml3_test/v3_geoxml3_proxy_linkto.html?filename=http://www.chambres-hotes.fr/kml_gg_f.kml?http://www.chambres-hotes.fr/kml_gg_f.kml?prefixe_page%3Dequestre%26my_regs%3D0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C18%2C19%2C20%2C21%2C22 What do you mean by "our own system"? > > a function like this one > function clickkml(id){ > google.maps.event.trigger(mypolygon[id], 'click'); > } > > I can't find what to write instead of 'mypolygon' > There is no equivalent that can be used with KmlLayer, you can build a query that does it if you import your KML into FusionTables. -- Larry > > note that all my polygons have in ID in the kml file > > Thanks for your help. > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-maps-js-api-v3. For more options, visit https://groups.google.com/groups/opt_out.
