質問

Here I develop one application which shows Map in Application. I show map in my app and it is working fine, but I show that country which I want to display in Map from application. So how to do it? Is it possible in Android?

Please help me.

Thanks in Advance.

役に立ちましたか?

解決

First of all track you current position through LocationListener/LocationManager:

MyLocation myLocation = new MyLocation();
private void locationClick() {
    myLocation.getLocation(this, locationResult);
}

And, zoom out your location through code:

mapView.getController().setZoom(17);

Then you can see the country mentioned.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top