-
Notifications
You must be signed in to change notification settings - Fork 91
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
Map scale bar #84
Comments
Don't think making it a regular view is a good idea. Instead it should be implemented in vector and be drawn by GL like position indicator. |
Why is that? |
BTW painting a bitmap scale bar in GL is not vector rendering. |
I know, so I propose to make it true vector. |
but I think that map scale bar is no external map components |
Map scale bar is actually a component placed on top of a map, e.g. like a location button. If you have a true vector map scale bar, please submit a PR. Currently the only working available is Mapsforge's and it involves bitmap rendering. |
I integrated Mapsforge's scale bar (Android) in #88. I deliberately kept separately the core scale bar classes from the bitmap renderer. For the rest platforms I need first to enrich VTM graphics API, see #92. |
As for me, looks a little bit over-scaled. Otherwise perfect. |
And others in Mapsforge have found it small. |
After the needed Graphics API refactoring in #92. |
VTM map scale bar is Mapsforge's old implementation.
It's not dpi aware and works only on Android.
A new implementation should work on all platforms with various unit adapters, like in Mapsforge.
Is having it as layer the best approach or a regular platform view / panel?
The text was updated successfully, but these errors were encountered: