-1

I want to draw the circle in Google map V2. I have tried using Ground overlay but its not showing as i want.

n3utrino
  • 2,361
  • 3
  • 22
  • 32
Anks
  • 11
  • 2

1 Answers1

-1

You can add a circle to google map ad follows:

    GoogleMap gMap = ...; //get ref to gMap
    CircleOptions circleOptions = new CircleOptions();
    circleOptions.center(latLang point);
    circleOptions.fillColor(/* add fill color here */);
    circleOptions.strokeColor(/* add stoke color here*/);
    circleOptions.strokeWidth(/* stroke width here*/);

   Circle circle = this.getMap().addCircle(circleOptions);

You can use this circle object later to remove it from map if you want.

rajankz
  • 644
  • 1
  • 5
  • 16