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

https://github.com/conterra/mapapps-search-layers

This bundle adds a new search store that allows the user to search for layers.
https://github.com/conterra/mapapps-search-layers

4x highlight mapapps search

Last synced: 28 days ago
JSON representation

This bundle adds a new search store that allows the user to search for layers.

Awesome Lists containing this project

README

          

# Search Layers

This bundle allows for layers to be searched for various attributes such as title, id and description. Layers that match the search query can be selected and the corresponding toc element is expanded and highlighted. The duration of the highlight can be configured in the app.json.

## Build Status

[![devnet-bundle-snapshot](https://github.com/conterra/mapapps-search-layers/actions/workflows/devnet-bundle-snapshot.yml/badge.svg)](https://github.com/conterra/mapapps-search-layers/actions/workflows/devnet-bundle-snapshot.yml)

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

![Screenshot Search Layer Sample App](https://github.com/conterra/mapapps-search-layers/blob/main/screenshot.png)

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

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

## 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`