I'm drawing "map" with jCanvas using drawLine method and need to put house number in center of the curve shape (it can has random number of angles).
Also please note, that all objects are draggable and text must be draggable with it.
Or how can I calculate center of object, which can has random number of angles?