MyLocationOverlay is deprecated. Is there any alternative?
MapView mapView;
MyLocationOverlay myLocationoverlay;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
myLocationoverlay = new MyLocationOverlay(this, mapView);
...
新类是MyLocationNewOverlay 。
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.