getCenterAbsolute method

Mappoint getCenterAbsolute(
  1. PixelProjection projection
)

Implementation

Mappoint getCenterAbsolute(PixelProjection projection) {
  if (center != null) return center!;

  if (way.labelPosition != null) {
    center = projection.latLonToPixel(way.labelPosition!);
  }
  return _boundaryAbsolute!.getCenter();
}