Skip to content

Icon not rotating #30

@Irokaiser

Description

@Irokaiser

Hi, I've installed your extension of Leaflet. My icons appear but are not rotating. Here is the code that I am using:

this.marker = L.marker([51.505, -0.09], {rotationAngle: 120, rotationOrigin: 'center'}).addTo(this.map);

image
As you can see the icon is not rotated. Functions setRotationAngle and setRotationOrigin don't appear to do anything either.

I have dropped the extension .js script file in my Leaflet folder like so:

image

Any ideas to what I am doing wrong? @bbecquet

Thanks in advance.

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