How to compute a radius around a point in an Android MapView?

后端 未结 3 869
别跟我提以往
别跟我提以往 2020-12-13 16:26

I have a MapView that I\'m displaying a \"useful radius\" (think accuracy of coordinate) in. Using MapView\'s Projection\'s metersToEquatorPixels, which is admi

3条回答
  •  温柔的废话
    2020-12-13 16:42

    projection.toPixels(GeoP, pt);
    float radius = projection.metersToEquatorPixels(50);
    

    Try this and see... i used it on my MapRadius and it seems to be working

提交回复
热议问题