开发者

how to convert coordinates to geoPoint format?

I am getting latitud开发者_如何学Ce and longitude coordinates in following format.

<coordinates>N44 47.975 E20 17.052</coordinates>

Can anyone guide me how to convert it to geoPoint format to display it on map? Any help would be appreciated.


The documentation explains everything:

GeoPoint point = new GeoPoint((int)(47.975 * 1E6), (int)(17.056 * 1E6))
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜