gmaps
gmaps copied to clipboard
circle.send_state() does not update figure
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?