I have a googlemap.
On the Top of a googlemap I have another layout.
My problem is, The pinpointed location is covered by my Another layout.
How can I change the center of the map.
(Pls see example below at my photo).
So far this is my code.
@Override
public void onMapReady(GoogleMap googleMap) {
MapsInitializer.initialize(getApplicationContext());
gMap = googleMap;
if (gMap != null) {
MarkerOptions markerOptions = new MarkerOptions();
LatLng latLng = new LatLng(Double.parseDouble(App.getShopLat()), Double.parseDouble(App.getShopLng()));
markerOptions.position(latLng);
markerOptions.title(App.getShopname());
gMap.addMarker(markerOptions);
gMap.moveCamera(CameraUpdateFactory.newLatLng(latLng));
gMap.animateCamera(CameraUpdateFactory.zoomTo(12));
}
}
I Want to achieve the Letter "B" picture.