gmaps icon indicating copy to clipboard operation
gmaps copied to clipboard

circle.send_state() does not update figure

Open dorp92 opened this issue 5 years ago • 0 comments

When I want to add circle to the figure I do the following:

pt = random_point_inside_polygon(poly.path)
circle = gmaps.drawing.Circle(center=pt,radius=10,fill_color='red',stroke_color='red')
drawing.features.append(circle)
drawing.send_state()

Now I want to update the circle properties So I tried:

circle.radius = 50
circle.fill_color ='green'
circle.send_state()

But it doesn't update the figure Is this a bug? or there is some other way to do it?

dorp92 avatar Sep 21 '19 17:09 dorp92