Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm using the OpenGeo Suite Client SDK to create a web mapping application. To perform searches I'm currently using the QueryForm plugin. Instead of using the QueryForm I would like to add a search box to "map.tbar" - the results should ideally still be listed in the east panel's FeatureGrid.

The layer being queried is a polygon shape file, containing buildings and real properties. The layer is for querying only, its only fields are FID, shape and ID (adresses and real properties).

What would be the way to do this? I've been looking at the GeocoderComboBox and AutoCompleteComboBox, but I'm not quite sure how to implement them the way I wish to do (still new to programming).

Any help is appreciated.

Thanks,

Markus.

share|improve this question
    
To complete your question, please indicate what you want to search: Features from layers, street addresses, something else? –  ahocevar Jun 18 '13 at 9:06

1 Answer 1

Still haven't found a way to do this. I can add GeocoderComboBox and AutoCompleteComboBox to my toolbar (the tools are now simply added to "north", not "map.tbar"). The AutoCompleteCombobox will do live searches, but I do not know how to get the results to populate the east panel's feature grid.

Also, if the user clicks on one of the results in the combo box (from the live search), the map should pan and zoom to that feature.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.