@sukucha, The idea I got is:
Step 1: User has to check only one layer(the layer in which he want to search) in layerswitcher before searching . But how to get which layer has been selected?? Step 2: After knowing the selected layer , Using php search that corresponding table for the search string in names column , if it is present get the latitude and longitude values. But how to get these values and what if they are polygons/lines??? Step 3: how to send these latitude longitude values to JS so that I can zoom to that point??? Is there any better way than this??? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Search-functionality-in-Openlayers-Geoserver-tp6486986p6487328.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
