0
I wanted to know how to change that red icon that marks the location of the GPS to place a picture located on the drawable. I just wanted to know what code I should add to get the suggested result.
The code is as follows::
@Override
public void onMapReady(GoogleMap googleMap) {
mMap = googleMap;
// Add a marker in Sydney and move the camera
//11.456, -78910
LatLng sydney = new LatLng(-7.937696, -34.897499);
mMap.addMarker(new MarkerOptions().position(sydney).title("******"));
}
for some reason the application does not open on mobile but I will see the problem in logcat, thank you.
– luiz-san
Add the log that makes it easier for us to help you.
– Jose Ribamar