> I created a map with a few KML files and it works fine: > > http://64.127.105.122/googleparcelmap/ > > I would like to add a search box to the map (based on their parcel > number in this case) where you can search for various polygons in one > of the KML files
When you use KmlLayer, your KML file is loaded into Google's servers and rendered as features there. You have no direct access to the KML in the client to search on any of its contents. Possible alternative strategy: Load the KML using a client-side parser, so you have access to its references and the features mapped. Drawback, performance penalties. There are other possibilities, depending on how much access you have to server-side processing and/or the original dataset used to produce the KML. -- 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 [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-js-api-v3?hl=en.
