Skip to content

layer jumps position when moving map #27

Open
@crawld

Description

@crawld

On firefox and safari, when the map is moved (pan), the layer jumps on the map. You can see this with the demo site:

https://danwild.github.io/leaflet-geotiff-2/

In _reset(), L.DomUtil.setPosition() moves the layer to the wrong place, then setting this._image.src in _drawImage() moves it back.

Seems ok on chrome desktop but not chrome ipad.

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