getCenter method

Mappoint getCenter()

Returns the center of the map in absolute mappixels

Implementation

Mappoint getCenter() {
  if (_center != null) return _center!;
  _center = _projection.latLonToPixel(LatLong(_latitude, _longitude));
  return _center!;
}