How to show a radius in maps android? -
i have 8 different longitude , latitude values in 1 value have longitude , latitude , remaining wont have values in case have show radius 1 value. can me solve problem.
thanks
googlemap has method addcircle need call appropriate params:
googlemap map; markeroptions markeroptions = new markeroptions(); latlng position = new latlng(50, 50); markeroptions.position(position); marker marker = map.addmarker(markeroptions); circle circle = map.addcircle( new circleoptions() .center(position) .radius(100) .strokewidth(0f) .fillcolor(getactivity().getresources().getcolor(r.color.somecolor)) );
Comments
Post a Comment