control z-order of objects
I'm writing in python, and I've written a simple interface to draw and move around a circle on the map, using three Marker.Point. one marker is the circle itself, and it is quite transparent, one small marker is for the centre of the circle, one equally small marker is for a "draw-through" point: the circumference of the circle passes through it.
what I do: I first draw the circle, then the two handles, in order to have them on top of the circle.
what happens: when I drag the circle, it is pulled to the top in z-order, what makes impossible to reach the two handles. (half of the draw-through point is still reachable, but not the centre point.)
what I do: after each drag event (for the circle) I destroy the two handles and create new ones.
what I hope: there is a better way.