<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000;"><div>Hello,<br><br>I am doing for multioly searching as population >= 20.000 I faced some problem because I not family with GeoExt and Openlayers too I tryed to follow example <br><span>as see <a target="_blank" href="http://demo.mapfish.org/mapfishsample/1.2/demos/c2corg/search.html">http://demo.mapfish.org/mapfishsample/1.2/demos/c2corg/search.html</a></span><br><br>It worked quite fine but my question is how to change this examples to able to search for all submits layers, this exmaple given only for searching on region around mouse click incident. <br><pre id="line112">I just copy and pasted some function down here<br><br>var protocol = mapfish.Protocol.MapFish.create({
url: "../../summits",
params: {
limit: 10
}
});
/*
* Create map searcher
*/
var mapSearcher = new mapfish.Searcher.Map({
mode: mapfish.Searcher.Map.BOX,
protocol: protocol
});
<br>var formPanel = new Ext.form.FormPanel({
title: 'Search criteria',
region: 'center',
items: [{
columnWidth: 0.5,
layout: 'form',
items: [{
xtype: 'textfield',
fieldLabel: 'Name',
name: 'name__like'
},{
xtype: 'textfield',
fieldLabel: 'Min elevation',
name: 'elevation__ge'
},{
xtype: 'textfield',
fieldLabel: 'Max elevation',
name: 'elevation__le'
}]
},{
html: ['<p>', 'Help note: search criteria specified above ',
'are used in conjunction with map queries.', '</p>'].join('')
}]
});<br><br>Any one help me...<br><br>Thanks!<br><br>All the best<br><br>Q<br></pre></div>
</div><br>
</body></html>