Hello everyone,
I want to get the zoom number from a distance.
For instance,

int distance = 999;

Now, how could I calculate the amount of zoom needed so I can see all
of these 999 miles on the map?
Ex.

int distance = 999;
MapView mMapView = new MapView(this);
MapController mc = mMapView.getController();
//let's say that I calculated that the amount of zoom is 10
//here I need to actually calculate this
mc.zoomTo(10);

Thanks,
Noam.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to