Skip to content

How to replace/insert the DefaultViewer using the plugin architecture? #1410

Closed

Description

Hi,
What is the best to use a different and custom Feature Info panel for the Identify plugin, which defaults to the DefaultViewer? There is a property for 'viewer' for Identify but I can't figure out how to best insert my viewer into the state with the current plugin architecture.

One obvious solution is to insert via a custom action/reducer to change the viewer. But when would be the best time to call this action in the setup sequences? Another solution is to create my own Identify plugin, but with the 'viewer' prop it looks like it has designed for to be extended. Plus, I don't want to maintain my own Identify, since there are 35 props being sent to it.

Part of my confusion is the plugin architecture and figuring out how it works.

Thanks ahead of time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions