[OpenLayers-Users] search option

Pedro Costa pedrocostaarma at sapo.pt
Thu Aug 9 03:41:54 PDT 2012


Hi guys,

I want to add a search option to my webgis and after search i saw this 
example:

http://osgeo-org.1560.n6.nabble.com/How-to-apply-a-Search-Function-td4364140.html#a4369035

I modified according my data [1] but i have 2 problems.
The first is when i go to my webgis, openlayers zoom to a incial 
incorrect bounding box, maybe because funcion 'processThequery' is being 
wrongly fired...

The other problem is that  when I click in the search button [2] is not 
made any request. I see that in firebug and because firebug don't give 
me any error i don't know the problem.


Can anybody help me?

Thanks

[1] http://pastebin.com/ektf74aq

[2]
<input type="submit" value="Search" />
<input type="text"  name="Pesquisar" id="searchText" value="Ponto de 
Interesse" style="text-align:center" maxlength="100" />


More information about the Users mailing list