followScreenPoint property

CustomPoint<num> followScreenPoint
final

A screen point that when the map follow to the marker. The point (-1.0, -1.0) indicate the top-left corner of the map widget. The point (+1.0, +1.0) indicate the bottom-right corner of the map widget. The point (0.0, 0.0) indicate the center of the map widget. The final screen point is offset by followScreenPointOffset, i.e. (mapWidgetWidth * followScreenPoint.x / 2 + followScreenPointOffset.x, mapWidgetHeight * followScreenPoint.y / 2 + followScreenPointOffset.y).

Implementation

final CustomPoint followScreenPoint;