Skip to content

Bug: on resize, plot legend isn't updated #163

@Indigo744

Description

@Indigo744

When resizing the map, the plots (circle, square...) are scaled to the current map scale (which is actualWidth / mapWidth).
However, the legend plot is drawn once at init and then never updated again. Which means the scale is off after a resizing of the map.

Example: http://jsfiddle.net/neveldo/n6XyQ/

  • Look first at the legend at the bottom, looks right between the plots and the legend.
  • Now resize the container to a smaller size
  • The plots on map are scaled down, but the legend remains the same

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