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

Android 8.0 (Oreo) ZoomButton deprecation #964

Closed
devemux86 opened this issue Jun 9, 2017 · 1 comment
Closed

Android 8.0 (Oreo) ZoomButton deprecation #964

devemux86 opened this issue Jun 9, 2017 · 1 comment

Comments

@devemux86
Copy link
Collaborator

ZoomButton was deprecated in API level O.
Use other means to handle this functionality. This widget is merely a simple wrapper around a long-press handler.

@devemux86
Copy link
Collaborator Author

After deprecation could copy ZoomButton (Apache 2.0) for user convenience.
Though if Android removes completely ZoomControls layout, then to provide internal zoom buttons would require image resources, i.e. turning mapforge-map-android to an aar which is outside library's scope. Like was with not including location renderer resources, for users to select their own.
So most versatile solution can be users to implement their zoom buttons, as demonstrated at rotate map sample in mapsforge-samples-android.

@devemux86 devemux86 changed the title Android 8.0 (O) Android 8.0 (Oreo) ZoomButton deprecation Sep 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant