Skip to content

MaplibreTerradrawControl.toggleEditor control all MaplibreTerradrawControl instances #6754

@hhfrancois

Description

@hhfrancois

maplibre-gl-js version: latest

browser:edge/firefox/chrome

Steps to Trigger Behavior

  1. include 2 or more maps in the view
  2. for each add MaplibreTerradrawControl.MaplibreTerradrawControl
  3. add control for hide/display MaplibreTerradrawControl for each
  4. when call toggleEditor on on MaplibreTerradrawControl, toggle all in same time

Expected Behavior

toggleEditor should have to control its toolbar buttons

Actual Behavior

toggleEditor control all instance of MaplibreTerradrawControl

Metadata

Metadata

Assignees

No one assigned

    Labels

    need more infoFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions