The attribute search is a wider field for customizations. The provided 
functionality is quite generic, but it is always a bit difficult to keep 
things generic and flexible and straightforward.

You can extract the values from the dbase file via the DBF functions of 
PHP. Would be somewhat easier/faster for PostGIS layers. Or you can use 
an AJAX approach like for GOOGLE Suggest (mainly for PostGIS).

But in all these cases you will probably have to define the settings 
explicetly for each layer where you want these kind of special 
functionality.

Armin

Gambin Dejan wrote:
> Hi,
> 
> I would like to modify/improve the searching capability so that I can
> fill the search box with the attibutes from for example shapefile dbf
> instead of typing the name of for example city. But I would like to do
> it in a way it can be customized maybe by some parameters so that I can
> set if I want the "search box" or "combo box populated", maybe on a
> layer level?
> 
> Any suggestions welcome...
> 
> regards, dejan
> 
> 

Reply via email to