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

Hook the plugin to the main Add layer menu entry #166

Open
ricardogsilva opened this issue May 6, 2021 · 2 comments
Open

Hook the plugin to the main Add layer menu entry #166

ricardogsilva opened this issue May 6, 2021 · 2 comments
Labels
size: 2 Takes between one hour and two hours to do type: enhancement New feature or request

Comments

@ricardogsilva
Copy link
Member

Lets add an entry for adding GeoNode layers to the main Layer -> Add layer menu.

It seems this is achievable by using the insertAddLayerAction() method of QgisInterface

@ricardogsilva ricardogsilva added size: 2 Takes between one hour and two hours to do type: enhancement New feature or request labels May 6, 2021
@Samweli
Copy link
Collaborator

Samweli commented Jun 24, 2021

@ricardogsilva it seems there is no QGIS API for opening Data Source Manager via python, at least not that I know of, this is needed for the 'Add layer' menu entry to function.

@ricardogsilva
Copy link
Member Author

This is blocked until we are able to move forward with qgis/QGIS#46577

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: 2 Takes between one hour and two hours to do type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants