Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Thank you, I figured it out myself.
final Marker asd = mMap.addMarker(new MarkerOptions()
.position(new LatLng(0, 0))
.flat(true)
.title(String.format("123")));
mMap.setOnMyLocationChangeListener(new GoogleMap.OnMyLocationChangeListener() {
@Override
public void onMyLocationChange(Location location) {
LatLng ttt = new LatLng(location.getLatitude(), location.getLongitude());
asd.setPosition(ttt);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question