Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't use CanvasScaleLine with bar mode #1106

Open
ToDentru opened this issue Sep 14, 2024 · 1 comment
Open

I can't use CanvasScaleLine with bar mode #1106

ToDentru opened this issue Sep 14, 2024 · 1 comment

Comments

@ToDentru
Copy link

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?

@Viglino
Copy link
Owner

Viglino commented Sep 16, 2024

Do you have an example online ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants