getOffsetForDrawingAtPoint abstract method

MPPointF getOffsetForDrawingAtPoint(
  1. double posX,
  2. double posY
)

@return The offset for drawing at the specific point. This allows conditional adjusting of the Marker position. If you have no adjustments to make, return getOffset().

@param posX This is the X position at which the marker wants to be drawn. You can adjust the offset conditionally based on this argument. @param posY This is the X position at which the marker wants to be drawn. You can adjust the offset conditionally based on this argument.

Implementation

MPPointF getOffsetForDrawingAtPoint(double posX, double posY);