Skip to content

Getting error when using renderer in Vue2Leaflet LCircleMarker #689

@Koutena

Description

@Koutena

In the vue2-leaflet package, when I use the l-circle-marker component with v-for and renderer together, I get the following error:

RangeError: Maximum call stack size exceeded

notice that:

  1. I checked using of the renderer without v-for and it works correctly.
  2. The renderer is a computed property and I can use it in any desired method (calling it like this.renderer()), but it causes create canvas tag for each l-circle-marker in HTML DOM and I won't such thing.

e.g.
https://codesandbox.io/s/v2l-circlemarker-renderer-forked-lq53u

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions