Skip to content

Customizable ShareAPI template #11839

@tha-nordiq

Description

@tha-nordiq

Description

Right now the ShareAPI template snippet is hard coded MapStore2\web\client\components\share\api-template.raw
In our project, we need to modify this for several reasons.

  • api js filename is hardcoded (ours is named after our project. I think this is how the project generation script works)
  • class of container is hardcoded
  • we have added additional config-options
  • remove unused script tags
  • add helpful comment tags

Acceptance criteria

I have thought about ways 2 ways to fix it.

  1. let plugin cfg point to a different template file
  2. Make the Share-plugin a plugin-container and allow new plugins to become tabs in the share dialog

Other useful information

I would be happy to contribute a solution to this problem, if you are interested

Metadata

Metadata

Assignees

No one assigned

    Labels

    New Featureused for new functionalities

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions