[OpenLayers-Users] Re: need a little help with this ( user input &
wfsprotocol.read )
Diego M.
oo_O2_oo at hotmail.com
Tue Feb 28 22:40:54 EST 2012
*would you, please show me how to do it ? *
if (request.data && request.data.bbox) {
var b = request.data.bbox;
sExt = new OpenLayers.Bounds(b[0],b[1],b[2],b[3]);
}else {
var fts = request.features;
if (fts.length>0) {
sExt = fts[0].geometry.getBounds().clone();
for(var i=1;i<fts.length;i++) {
sExt.extend(fts[i].geometry.getBounds());
}
}
}
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/need-a-little-help-with-this-user-input-wfsprotocol-read-tp4468479p4529991.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list