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

feat(layerFlyTo): add flyTo position to layers #438

Merged
merged 6 commits into from
Jul 29, 2020
Merged

Conversation

KatvonRivia
Copy link
Member

@KatvonRivia KatvonRivia commented Jul 28, 2020

closes #417

@KatvonRivia KatvonRivia requested a review from pwambach July 28, 2020 13:37
interface LayerListItem {
id: string;
name: string;
description: string;
link: string;
subLayers: LayerListItem[];
flyTo: GlobeView;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately the layer list is not the right place for the flyto property because everything in here is beeing translated and you would have to sync the values over all 5 language files.
We keept all the layer related values in the /data/layers-config.file. From there they are built into each layers metadata.json file.

The problem ist that the file is only written when the layer is build so @pmast wrote a tool to update the layers metadata config on storage directly - see /scripts/update-metadata.sh

@KatvonRivia KatvonRivia requested a review from pwambach July 29, 2020 10:48
@KatvonRivia KatvonRivia merged commit 98c3f93 into develop Jul 29, 2020
@pwambach pwambach deleted the feat/layerFlyTo branch August 20, 2020 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to set initial view for datasets
2 participants