Currently I'm using google-map-API V2 for android google map,is there any way I can based on one variable parameter change the marker(pin) size/color of google map?
1 Answers
0
votes
float valueBetween0and360 = 222.222;
marker.setIcon(BitmapDescriptorFactory.defaultMarker(valueBetween0and360));
will change marker icon color.
For size you will have to provide your own icons and use BitmapDescriptorFactory.fromResource.