You can use filter and instead of wms better use wfs then you can easily zoom to that location ----- GIS Developer -- View this message in context: http://osgeo-org.1560.x6.nabble.com/how-to-make-query-using-openlayer-tp5145444p5159623.html Sent from the OpenLayers Users mailing list archive at Nabble.com.