Skip to content

Alignment of several CanvasLayers #5

@jekuno

Description

@jekuno

When adding more than one CanvasLayer with leaflet 0.7 I had issues with the canvas alignment.

Fix was to add the following CSS:

.leaflet-overlay-pane canvas {
  position: absolute;
}

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