[英]How can I get the normal Google Maps blue current location marker?
I know how i can get my current location and how to place a marker on given coordinates.我知道如何获取当前位置以及如何在给定坐标上放置标记。 What I am trying to figure out is how I can get that blue round current location marker that you get in your normal Google Maps app.
我想弄清楚的是如何获得您在普通 Google 地图应用程序中获得的蓝色圆形当前位置标记。 Which moves as the device changes location fluently without any lag and shows you the direction you are facing.
它会随着设备流畅地改变位置而移动,没有任何滞后,并向您显示您所面对的方向。 I will add an image to make it clearer.
我将添加一个图像以使其更清晰。 I am guessing it also uses some sort of animation to show the changing location fluently.
我猜它也使用某种动画来流畅地显示不断变化的位置。 I am working on AndroidStudio.
我在 AndroidStudio 上工作。
mMap.setMyLocationEnabled(true);
帮我解决了这个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.