I want to place different drawables on the map depending on the zoom level. Can this be done? IS there a way to detect zoom change when it happens?
Android App
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are using the Maps API you can just call the “getZoomLevel()” on the MapView.
The easiest way to handle it would be overwrite the “OnTouchEvent” to check and dispatch a background task associated with the zoom level.
make sure you supply “super.OnTouchEvent” if you don’t do anything special with it.