Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- implements OnMapReadyCallback
- mapfragment=(MapFragment)getFragmentManager().findFragmentById(R.id.mapfragment);
- mapfragment.getMapAsync(this);
- gmap=googleMap;
- LatLng usm=new LatLng(5.356179, 100.302557);
- gmap.addMarker(new MarkerOptions().position(usm).title("U S M"));
- googleMap.moveCamera(CameraUpdateFactory.newLatLng(usm));
- <meta-data
- android:name="com.google.android.geo.API_KEY"
- android:value="AIzaSyD4APLIFztXmh1h8nOp4wGTGZ-J4dSh7us"/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement