2

ユーザーのジオポイントを追跡するアプリを使用しています。これらのポイントを取得し、それらを使用してマップ ビューにパスを描画するだけです。

   My issue is, when I see the path tracked by user, the path seems to be correctly plotted but, when I have a first look over the map,it does not show me an entire zoomed out view of the map where I can see all the track path. Instead the map begins with from where I started tracking and then I need to scroll all my way to see the further tracks.

助けてください。:) 前もって感謝します。

4

1 に答える 1

1

MapController.zoomToSpan(...)を使用すると、 ItemizedOverlay メソッドgetLatSpan(int)およびgetLonSpan(int )からスパンを取得できます。zoomToSpan(...) はベスト エフォート方式であり、すべてのポイントが表示されることを保証するものではありません。

于 2011-07-20T16:47:02.273 に答える