-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Support customization of the Feature Info Panel for each data layer in Cesium #1797
Comments
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
changed the title
Support customization of the InfoBox for each data layer in Cesium
Support customization of the Feature Info Panel for each data layer in Cesium
Nov 29, 2021
robyngit
added a commit
that referenced
this issue
Dec 10, 2021
- Allow configuration of a feature template in a Map Asset model - Add a 'table' (default) and 'story' feature template - Allow configuration custom properties in a Map Asset model (dates and strings) - Tweak the text shown for the title and button in FeatureInfoView - Add Day.JS library for formatting dates Relates to #1797
Completed in the Which properties are used in the each part of the template are configured in a metacatui/src/js/models/maps/assets/MapAsset.js Lines 172 to 211 in 451d93e
The content of a |
3 tasks
Nice, @robyngit ! 🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Cesium, clicking on a data entity (e.g. on a LEO Network marker) shows an "info box" containing the description property or attribute table of that entity. Make the information shown in that info box configurable (e.g. for the LEO Network data, we show the date, an image, a link, logo, etc, but this is currently hard-coded in the app.)
The text was updated successfully, but these errors were encountered: