Skip to content

Using a custom svg to select mapstore plugins #64

@LPoin

Description

@LPoin

I want to use a custom SVG for Cadastrapp plugin.
(cadastrapp issue-175)
It's ok in the plugin itself but the icon in selection plugin mapstore page is not changed.

It seems to be set in assets/index.json in glyph.

{
  "plugins": [
    {
      "name": "Cadastrapp",
      "glyph": "th",
      "docUrl":"https://github.com/georchestra/mapstore2-cadastrapp#plugin-configuration",
      "defaultConfig": {
        "openOnLoad": false,
        "helpUrl": "https://docs.georchestra.org/cadastrapp/latest/guide_utilisateur/",
        "foncier": true,
        "popup": {
          "minZoom": 14,
          "timeToShow": 1000
        }
      },
      "dependencies": [
        "SidebarMenu"
      ]
    }
  ]
}

But it's impossible to use svg in json.
Is their any solution to resolve that ?
Thanks

Metadata

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