Skip to content Skip to sidebar Skip to footer

ItemizedOverlay Issues (HelloMapView Tutorial)

I am having trouble with the Hello Map Views tutorial from the Android Developer website: http://developer.android.com/resources/tutorials/views/hello-mapview.html My first problem

Solution 1:

change the super call in your second constructor to:

super(boundCenterBottom(defaultMarker));

that should work!


Solution 2:

Use this to see your icon:

 MapController mapController = mapView.getController();
 GeoPoint point = new GeoPoint(19240000,-99120000);
 mapController.animateTo(g);

Post a Comment for "ItemizedOverlay Issues (HelloMapView Tutorial)"