Double lat = 27.990417;
            Double lon = -17.235252;

            Point p = new Point((int) (lat * 1E6),(int) (lon * 1E6));
            mMapController.animateTo(p);
            mMapController.zoomTo(18);
            mMapController.centerMapTo(p, true);
            if(!mMapView.isSatellite()){
                mMapView.toggleSatellite();
            }

            mMapView.invalidate();

mMapView is the MapView object from the XML layout and mMapController
is its controller.

The MapView loads but just shows a gray color grid.

Please help
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to