On Apr 4, 1:27 am, Thoern <turbokil...@gmail.com> wrote: > If using a KML file instead of a markers array, is there some good > practice to be able to search values in the KML file? > As you can do with markers, then zoom to the marker you searched > for.
There is no way (currently) to access the markers in a KmlLayer, except by clicking on them. The only solution I know of is to import your kml into FusionTables, then use a Gviz query to open the markers (or search the values). Some examples I have been playing with: http://www.geocodezip.com/v3_FusionTables_AfricaMap_kml_sidebar.html http://www.geocodezip.com/geoxml3_test/v3_FusionTables_Watershed_Stewards_Map_sidebar2.html > Also If I understand correctly once opened a KML in a google map > the kml file becomes cached at googles servers so next time it does > not nessesaryly open the KML from its original url. > How do you refresh the cach once you change the KML file? Add a random "cache-busting" parameter or a date stamp to the URL (or if you update it infrequently a version number). -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.