position property

LatLng? position
final

Geographical location to which the anchor will be fixed.

The relative location of the position on the overlay can be changed with the anchor parameter, which is by default (0.5, 0.5) meaning that the position is in the middle of the overlay image.

Implementation

final LatLng? position;