Skip to content

Conversation

@Chaoba
Copy link
Contributor

@Chaoba Chaoba commented Mar 10, 2020

Resolves #1093
This pr use mapView.getPixelRatio() to calculate the correct DistancePerPixel value for scale bar

@Chaoba Chaoba requested a review from tobrun March 10, 2020 04:08
Copy link
Member

@tobrun tobrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@Chaoba Chaoba merged commit 9a2f1d4 into master Mar 10, 2020
@Chaoba Chaoba deleted the kl-pic-ratio branch March 10, 2020 08:47
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

Successfully merging this pull request may close these issues.

Pixel ratio can cause incorrect scale in scale plugin.

2 participants