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

Moved attachments and related tables from featureinfo to SelectedItem #2002

Merged

Conversation

steff-o
Copy link
Contributor

@steff-o steff-o commented May 2, 2024

Fixes #1975 by adding the async createContentAsync() method on SelecedItem class. While doing that all code that creates the async content has been moved from featureinfo.js to getfeatureinfo.js while keeping the functionality intact.

For "standard" use of Origo, this PR will not change anything. The main benefit is that is is now possible to create SelectedItems containing async content and display them in InfoWindow from api or plugins, as the SelectedItem class is exposed in the global Origo object.

@Flodkvist
Copy link
Contributor

Tried running this on a related tables configuration, looks good to me.

@steff-o steff-o merged commit 0f58c79 into origo-map:master May 24, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add related tables and attachments to SelectedItem
2 participants