getStartPosition method

  1. @override
Future<LatLong?> getStartPosition()
override

@return the default start position for the current map file. Make sure lateOpen is already executed

Implementation

@override
Future<LatLong?> getStartPosition() async {
  await _lateOpen();
  if (null != getMapHeaderInfo().startPosition) {
    return getMapHeaderInfo().startPosition;
  }
  return getMapHeaderInfo().boundingBox.getCenterPoint();
}