Built-in zoom controls? #912
-
I want to support dedicated zoom buttons on my map. (I know that "zoom by pinch" is supported, but sometimes "a real" button is easier to handle for the end-user.) Mapsforge lib supports built-in zoom controls with some configuration options, e. g. position, drawables etc. Couldn't find any built-in zoom controls for VTM, though, not in the examples and not in the source. Have I missed something, or do zoom controls have to be built manually (adding a layer with two drawables, attaching tap controllers to it, linked to zooming in/out)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Mapsforge had the now deprecated Android ZoomButton. They are libraries (not apps), so no one should have and maintain buttons. Each app usually has different needs regarding appearance, size, position, etc. |
Beta Was this translation helpful? Give feedback.
Mapsforge had the now deprecated Android ZoomButton.
They are libraries (not apps), so no one should have and maintain buttons.
Each app usually has different needs regarding appearance, size, position, etc.
VTM map on Android is a View, you can add on top anything, like zoom buttons.