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

Using a custom svg to select mapstore plugins #64

Open
LPoin opened this issue Jan 22, 2025 · 0 comments
Open

Using a custom svg to select mapstore plugins #64

LPoin opened this issue Jan 22, 2025 · 0 comments

Comments

@LPoin
Copy link

LPoin commented Jan 22, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant