getOffset method
@return The desired (general) offset you wish the IMarker to have on the x- and y-axis. By returning x: -(width / 2) you will center the IMarker horizontally. By returning y: -(height / 2) you will center the IMarker vertically.
Implementation
@override
MPPointF getOffset() {
return MPPointF.getInstance1(_dx, _dy);
}