this is possible using a data source which supports queries. At the moment there are two options, either a Fusion Map Layer or the Maps Data API KML Feature Feed.
You can specify a query using the Maps Data API KML Feed with the mq parameter. For example if you were searching for the State of New York, and it had an id of NY, then the url would include this parameter ?mq=[id:NY] if we take the State Boundary KML polygons from this map http://2010.census.gov/2010census/take10map/ and load them into a "My Map" which is accessible to the Maps Data API, then you can make a map like the following example which allows the user to choose a State, and also allows the user to decide how to highlight the state, either a blue boundary with light shaded infill, or a solid black boundary with inverse shading of areas outside the state (use the "Inverse" checkbox to toggle the symbology display) http://www.william-map.com/20100607/1/states.htm ... -- 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.
