vue-leaflet/Vue2Leaflet

Change of attribution text may fail in some situation

tailriver opened this issue · 1 comments

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
stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.