offset property
The pixel-based offset is applied after the ratio calculation to fine-tune the marker's position. This allows for precise adjustments to the marker's screen location, accommodating for elements such as map controls or overlays that may otherwise obscure the marker.
For example, an offset of (10, 20) pixels would move the marker 10 pixels to the right and 20 pixels downward from the position calculated with the ratio.
Implementation
final Point<double> offset;