Skip to content

L.imageOverlay.rotated gives "is Not constructor error" #15

@zicvic

Description

@zicvic

When using the lib like stated in the readme (see below), the following error occurs:

const overlay = Leaflet.imageOverlay.rotated("../office.png", topleft, topright, bottomleft, {
        opacity: 0.7,
        interactive: false
    }).addTo(mapRef)

image

Is it me doing something wrong or is something broken? Leaflet = 1.5.1

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