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

https://github.com/conterra/mapapps-conditional-renderer

The Conditional Renderer Bundle makes it possible to create mutliple renderers and feature reductions for a layer to be used in different scale ranges, all by configuration.
https://github.com/conterra/mapapps-conditional-renderer

4x contents mapapps

Last synced: 28 days ago
JSON representation

The Conditional Renderer Bundle makes it possible to create mutliple renderers and feature reductions for a layer to be used in different scale ranges, all by configuration.

Awesome Lists containing this project

README

          

[![devnet-bundle-snapshot](https://github.com/conterra/mapapps-conditional-renderer/actions/workflows/devnet-bundle-snapshot.yml/badge.svg)](https://github.com/conterra/mapapps-conditional-renderer/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)
# Conditional Renderer
This bundle makes it possible to create mutliple renderers and feature reductions for a layer to be used in different scale ranges, all by configuration.

![Screenshot App](https://github.com/conterra/mapapps-conditional-renderer/blob/main/screenshot.JPG)

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

[dn_conditionalrenderer Documentation](https://github.com/conterra/mapapps-conditional-renderer/tree/main/src/main/js/bundles/dn_conditionalrenderer)

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