Skip to content

Issues when redrawing rectangle on move #2945

Closed
@umyeah

Description

I'm trying to keep a rectangle on the map and I am redrawing it on the move event. It seems like there is an issue when it is being drawn though.

I made a fiddle that shows the issue. When dragging the rectangle will not cover the whole box but on draw end it will. The rectangles bounds are being updated and match the map bounds but the rectangle itself isn't drawn correctly until i release.

http://jsfiddle.net/rLrpw19j/2/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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