Skip to content

Using polylineDecorator with ant-path is not working #170

Description

@EricG-Personal

Type:

  • bug
  • feature
  • enhancement
  • question

Environment:

  • OS: macOS 12.4
  • Browser: Chrome 103.0.5060.53
  • Library Version:

https://unpkg.com/leaflet@1.8.0/dist/leaflet.js
https://unpkg.com/leaflet-ant-path@1.3.0/dist/leaflet-ant-path.js
https://unpkg.com/leaflet-polylinedecorator@1.6.0/dist/leaflet.polylineDecorator.js

I'm going to open a PR:

  • yes
  • no

Description:
I am not sure where the issue is. I have a codepen demonstrating the issue at https://codepen.io/ericg97477/pen/vYRGYVr

With one polyline, I can decorate it with an arrow.

With the second polyline, I am creating it with anyPath, but cannot decorate with an arrow.

It would be nice if I could use both polylineDecorator together with ant-path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions