Location.getAccuracy()-蓝色圆圈的半径值。
GoogleMap.OnMyLocationChangeListener
was the way of what the blue dot shows. It was receiving location and you were able get accuracy but it's deprecated.
Google suggests FusedLocationProviderApi
instead. It's also source of blue dot
Use com.google.android.gms.location.FusedLocationProviderApi instead. FusedLocationProviderApi provides improved location finding and power usage and is used by the "My Location" blue dot.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.