import android.os.Bundle;
-import com.google.android.gms.maps.MapView;
+import com.google.android.gms.maps.*;
+import com.google.android.gms.maps.model.*;
public class Main extends Activity
{
});
// Get a handle to the Map Fragment
- //GoogleMap map = ((MapFragment)getFragmentManager()
- // .findFragmentById(R.id.map_fragment)).getMap();
+ GoogleMap map = ((MapFragment)getFragmentManager()
+ .findFragmentById(R.id.map_fragment)).getMap();
+ Marker mark = map.addMarker(new MarkerOptions()
+ .position(new LatLng(34.0722, -118.4441))
+ .title("UCLA"));
//LatLng sydney = new LatLng(-33.867, 151.206);