Skip to content

Changing LWMSTileLayer layers prop has no effect #567

Open
@guygriffiths

Description

@guygriffiths

Description

Changing the LWMSTileLayer layers prop does not trigger redraw.

Live Demo

http://jsfiddle.net/q1gfj9n7/4/

Steps to Reproduce

As per fiddle, any LWMSTileLayer which has a layers property which changes will not redraw the layer.

Expected Results

Changing the value of layers should cause the layer to be redrawn using the new layer name.

Actual Results

Nothing visible changes.

Browsers Affected

  • Chrome
  • Firefox

Unable to check:

  • Edge
  • Safari 9
  • Safari 8
  • IE 11

Versions

  • Leaflet: v1.6.0
  • Vue: v2.6.10
  • Vue2Leaflet: v2.5.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmedIssue is accepted as either a bug or a valid enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions