Ticket #3185 (assigned feature)
canvas: drawExternalGraphic either misplaced or not drawn
|Reported by:||rduivenvoorde||Owned by:||tschaub|
In current implementation of Canvas.drawExternalGraphic I found two problems:
1) if using a (point) style with an external graphic, and NOT defining a pointRadius AND (graphicWidth OR graphicHeight), NO graphic was draws (there seems to be no default size for a graphic
2) when using an external graphic and using the style properties graphicXOffset and graphicYOffset the offset was too big (eg using a marker graphic 24 pixels hight with a pointer to the bottom of the graphic, you had to give an y-offset of 24 to have the pointer point to the real point ...).
I will attach a patch for both problems