如何在位置周围添加半径?

时间:2014-09-04 09:52:22

标签: android google-maps radius

我如何在这里添加半径..或动态... ??

 {
                GPSLongitude = location.getLongitude();
                GPSLatitude = location.getLatitude();
                Log.i("GPS","Lat: "+GPSLatitude+" Long "+ GPSLongitude);
                Toast.makeText(getApplicationContext(), "Location is "+GPSLatitude+" Long "+ GPSLongitude, Toast.LENGTH_LONG).show();
                googleMap.moveCamera( CameraUpdateFactory.newLatLngZoom(new LatLng(GPSLatitude,GPSLongitude) , 16.0f) );
                }

1 个答案:

答案 0 :(得分:0)

请参阅此链接。半径

的实例
http://danielgultom.blogspot.in/2011/01/create-radius-around-point-in-google.html