Skip to content

I can't use CanvasScaleLine with bar mode #1106

Open
@ToDentru

Description

@ToDentru

Using bar mode fails because querySelector tries to search for class ol-scale-line-inner when it should be ol-scale-bar-inner.
image
I made a small adjustment:
image
And, the result:
image
Is this actually a bug? Or, am I doing something wrong?

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