An open API service indexing awesome lists of open source software.

https://github.com/conterra/mapapps-hierarchicalsearch

The Hierarchical Search Bundle offers a widget for searching features via a drop-down menu based on attributed values. The menus will be filled automaticaly based on the attribute ID and the previous user selections.
https://github.com/conterra/mapapps-hierarchicalsearch

4x mapapps search

Last synced: 14 days ago
JSON representation

The Hierarchical Search Bundle offers a widget for searching features via a drop-down menu based on attributed values. The menus will be filled automaticaly based on the attribute ID and the previous user selections.

Awesome Lists containing this project

README

          

[![devnet-bundle-snapshot](https://github.com/conterra/mapapps-hierarchicalsearch/actions/workflows/devnet-bundle-snapshot.yml/badge.svg)](https://github.com/conterra/mapapps-hierarchicalsearch/actions/workflows/devnet-bundle-snapshot.yml)
![Static Badge](https://img.shields.io/badge/requires_map.apps-4.20.0-e5e5e5?labelColor=%233E464F&logoColor=%23e5e5e5)
![Static Badge](https://img.shields.io/badge/tested_for_map.apps-4.20.0-%20?labelColor=%233E464F&color=%232FC050)

# Hierarchical Search
This bundle offers a widget for searching features with several drop-down menus in hierarchical organized objects, such as addresses (city > street > address point).
Each menu is filled based on the previous user selection (for example all streets for the selected city are shown).

## Sample App
https://demos.conterra.de/mapapps/resources/apps/public_demo_hierarchicalsearch/index.html

![Screenshot Sample App Hierarchical Search](https://github.com/conterra/mapapps-hierarchical-search/blob/main/screenshot.JPG)

## Installation Guide
**Requirement: map.apps 4.12.0**

[dn_hierarchicalsearch Documentation](https://github.com/conterra/mapapps-hierarchicalsearch/tree/master/src/main/js/bundles/dn_hierarchicalsearch)

## Development Guide
### Define the mapapps remote base
Before you can run the project you have to define the mapapps.remote.base property in the pom.xml-file:
`http://%YOURSERVER%/ct-mapapps-webapp-%VERSION%`

### Other methods to to define the mapapps.remote.base property.
1. Goal parameters
`mvn install -Dmapapps.remote.base=http://%YOURSERVER%/ct-mapapps-webapp-%VERSION%`

2. Build properties
Change the mapapps.remote.base in the build.properties file and run:
`mvn install -Denv=dev -Dlocal.configfile=%ABSOLUTEPATHTOPROJECTROOT%/build.properties`