Hello, I am fairly new to OpenLayers and GIS in general and new to this list. I have just setup an OpenLayers page. I am using MapServer as my WMS Server and my data is held in PostGIS tables.
I would like to know how can I create a way for a user to input text and to zoom to the feature specified by the text. An example of what I am trying to accomplish: Take the Feature Info Example at http://www.openlayers.org/dev/examples/getfeatureinfo.html. If I wanted to make it so a user could type in a country name then have the map zoom to the extent of the country, how would I do so? It needs to be a general enough example I could use it with any text field (for example, a Serial Number). I have found a few previous postings that seem to be asking a similar question but not many answers. Any pointers to a nice or ugly solution are appreciated. Thanks. Greg -- View this message in context: http://www.nabble.com/Query-Feature-by-Attribute-and-Zoom-tp16613255p16613255.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
