unvt / charites

It is an application to style vector tiles easily

Home Page:https://unvt.github.io/charites/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LegendControl of the `charites serve` command has broken

yuiseki opened this issue · comments

Describe the bug

  • MaplibreLegendControl and MapboxLegendControl of the charites serve command is currently broken

To Reproduce
Steps to reproduce the behavior:

  1. Pull newest main branch of charites
  2. npm ci
  3. npm run build
  4. charites serve test/data/style.yml
  5. Open http://localhost:8080/
  6. Open Chrome Dev Tool
  7. See console log

Expected behavior

  • MapboxLegendControl has shown

Screenshots

Before

Image from Gyazo

After

Image from Gyazo

Charites Version:

  • Charites version: 0.2.0

Desktop (please complete the following information):

  • OS: Windows 10 Pro
  • Browser: Google Chrome 107.0.5304.107

Additional context
I will immediately submit pull request that fix this issue

Thank you for this improvement! It is really helpful!