2014-09-04 71 views
0

如何在此處添加半徑?或動態...?如何在位置附近添加半徑?

{ 
       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)); 
       } 
+0

你的意思是說與準確性? – 2014-09-04 09:53:22

+0

我的意思是..我想增加門檻,我想爲我的gps提醒添加/保存位置...我需要動態地添加半徑或通過以米爲單位手動添加半徑... – ADAM 2014-09-04 09:58:38

+0

實際上我正在開發gps提醒項目或位置提醒..我也有一個應用程序的功能問題.. – ADAM 2014-09-04 10:08:51

回答

0

請到半徑這個link.live例如

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