how to convert coordinates to geoPoint format?

后端 未结 1 415
甜味超标
甜味超标 2021-01-21 18:22

I am getting latitude and longitude coordinates in following format.

N44 47.975 E20 17.052

Can anyone gu

1条回答
  •  悲哀的现实
    2021-01-21 18:46

    The documentation explains everything:

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

    0 讨论(0)
提交回复
热议问题