pixelToLatLng method

MapLatLng pixelToLatLng(
  1. Offset position
)

Converts pixel point to MapLatLng.

Implementation

MapLatLng pixelToLatLng(Offset position) {
  return getPixelToLatLng(
    position,
    _parentBox.size,
    _parentBox._controller.shapeLayerOffset,
    _parentBox._controller.shapeLayerSizeFactor,
  );
}