开发者

How to set mapview to not show my current location?

开发者 https://www.devze.com 2023-03-29 02:35 出处:网络
how to coding to set mapview don\'t show the current location now it\'s not show on emulater but when I try to install on my mobile , the current loca开发者_如何学Gotion sigh will show

how to coding to set mapview don't show the current location

now it's not show on emulater but when I try to install on my mobile , the current loca开发者_如何学Gotion sigh will show

What should I do?


public static int getCoordinateE6(double coordinate) {
    return (int) (coordinate * 1E6);
}

GeoPoint geoPoint = new GeoPoint(
    GoogleMapServiceHelper.getCoordinateE6(latitude),
    GoogleMapServiceHelper.getCoordinateE6(longitude));
getMapView().getController().animateTo(geoPoint);
0

精彩评论

暂无评论...
验证码 换一张
取 消