Android Maps V2 - Move a circle smoothly -


i have mapfragment using google maps api v2 android in application.

on map, drew circle this:

/* circle */ circleoptions circleoptions = new circleoptions()     .center(new latlng(50,4))     .radius(10000);     circle = mmap.addcircle(circleoptions);     circle.setfillcolor(0x4496aa39);     circle.setstrokecolor(0xdd96aa39); 

this circle move , resized periodically (based on gps activity), this:

circle.setradius(newradius); circle.setcenter(newcenter); 

the problem when circle either resized or moved, circle transparent frames, , filled after milliseconds.

i tried clear map , readd circle, result same:

mmap.clear(); circleoptions circleoptions = new circleoptions() .center(newcenter) .radius(newradius); circle = mmap.addcircle(circleoptions); circle.setfillcolor(0x4496aa39); circle.setstrokecolor(0xdd96aa39); 

thanks in advance help.


Comments