Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter map features by attribute #1770

Open
laurenwalker opened this issue May 18, 2021 · 2 comments
Open

Filter map features by attribute #1770

laurenwalker opened this issue May 18, 2021 · 2 comments
Labels
cesium enhancement pdg Permafrost Discovery Gateway portals Anything related to portals

Comments

@laurenwalker
Copy link
Member

Support filtering features in a data layer by an attribute that exists on each feature. Design a UI widget that will show the attributes to filter on. We may also want to allow different coloring rather than filtering.

@laurenwalker laurenwalker added cesium enhancement pdg Permafrost Discovery Gateway labels May 18, 2021
robyngit added a commit that referenced this issue Sep 29, 2021
Reorganization of the CesiumWidget:
- Move functions that create and update Cesium assets (e.g. imagery, terrain, 3Dtiles) from the CesiumWidget view to individual "Map Asset" models
- Replace the Layer and Terrain model with a more generic MapAsset model.
- Similarly, replace Layers and Terrains collections with a MapAssets collection that can be used in either case.

New features:
- Enable clicking on individual features in a 3D tileset lay to view more details
- Add support for configuring the colours to use for 3D tilesets - colors can be set conditionally in the Cesium config based on feature properties. Only categorical color palettes are enabled at so far.
- Add support for configuring 'vector filters' in the Cesium config. These filters conditionally show or hide features of a 3D tileset based on properties of the features.

Relates to #1770, #1798, #1789, #1790, #1791, #1780, #1778, #1797
@robyngit
Copy link
Member

Example UIs from our mockups:

Screen Shot 2021-11-29 at 12 48 01

Screen Shot 2021-11-29 at 12 47 41

@robyngit
Copy link
Member

robyngit commented Apr 2, 2022

This feature was requested by Mike Brubaker and Mike Brook for the LEO Network layer

@julietcohen julietcohen added the portals Anything related to portals label Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cesium enhancement pdg Permafrost Discovery Gateway portals Anything related to portals
Projects
None yet
Development

No branches or pull requests

3 participants