I have an application that use a MapView to display a pin to a location. I would like to open Google Map to this pin when clicking the map view.
I've done the following from my activity
this.map.setClickable(true);
this.map.getMapAsync(this);
...
public void onMapReady(GoogleMap googleMap) {
googleMap.getUiSettings().setMyLocationButtonEnabled(false);
LatLng position= new LatLng(this.model.getLatitude(), this.model.getLongitude());
googleMap.addMarker(new MarkerOptions().position(position).title(this.model.getLabel()));
googleMap.moveCamera(CameraUpdateFactory.newLatLngZoom(position, 15));
}
But it does not open google map directly instead it show me the following buttons
I would rather open directly google map instead. How can I do it ?