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

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

This bundle provides an omnisearch store for connecting to the Esri CH LocationFinder service.
https://github.com/conterra/mapapps-locationfinder

4x mapapps search

Last synced: 28 days ago
JSON representation

This bundle provides an omnisearch store for connecting to the Esri CH LocationFinder service.

Awesome Lists containing this project

README

          

[![devnet-bundle-snapshot](https://github.com/conterra/mapapps-locationfinder/actions/workflows/devnet-bundle-snapshot.yml/badge.svg)](https://github.com/conterra/mapapps-locationfinder/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)
# LocationFinder bundle
This bundle provides a store for connecting to the Esri CH LocationFinder service, which has to be licensed seperately via Esri Switzerland. A location can be searched by entering search criteria in a text field.

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

Installation Guide
------------------
1. First, you need to add the bundles "dn_locationfinder" to your app.
2. After that, configure your LocationFinderStore as described below.

#### Configurable Components of dn_locationfinder:

##### LocationFinderStore:
```
"LocationFinderStore": {
"id": "locationfinderstore",
"title": "Suchdienst",
"description": "Suchdienst",
"useIn": [
"search"
],
"omniSearchDefaultLabel": "Ort, Adresse, POI...",
"omniSearchSearchAttr": "name",
"omniSearchDisableSortOptions": true,
"omniSearchLabelString": "${name} (${type_resolved})",
"omniSearchTypingDelay": 200,
"parameters": {},
"url": "https://***/Finder/Lookup",
"wkid": 25832,
"resolveType": true
}
```

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`