Skip to content

Change of attribution text may fail in some situation #695

Closed
@tailriver

Description

@tailriver

Description

Sometimes old attribution text remains after the layer is hidden.
I think the setAttribution may fail if { attributionControl: false } is specified in LMap.

Live Demo

https://vue2-leaflet.netlify.app/examples/feature-showcase.html

Steps to Reproduce

  1. Change "Attribution position" to "topleft" (other than "bottomright").
  2. Change tile layer to OpenTopoMap.

Expected Results

Vue2Leaflet | Map data: © OpenStreetMap, SRTM | Map style: © OpenTopoMap (CC-BY-SA)

(skip step 1 to get this)

Actual Results

Vue2Leaflet | © OpenStreetMap contributors, Map data: © OpenStreetMap, SRTM | Map style: © OpenTopoMap (CC-BY-SA)

Browsers Affected

  • Chrome
  • Firefox
  • Edge
  • Safari 9
  • Safari 8
  • IE 11

Versions

  • Leaflet: vX.X.X
  • Vue: vX.X.X
  • Vue2Leaflet: vX.X.X

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions