loadOnly method

TileUpdateEvent loadOnly({
  1. LatLng? loadCenterOverride,
  2. double? loadZoomOverride,
})

Returns a copy of this TileUpdateEvent with only loading enabled. The loading center/zoom can be overriden with loadCenterOverride and loadZoomOverride otherwise they will default to the map's current center/zoom.

Implementation

TileUpdateEvent loadOnly({
  LatLng? loadCenterOverride,
  double? loadZoomOverride,
}) =>
    TileUpdateEvent(
      mapEvent: mapEvent,
      load: true,
      prune: false,
      loadCenterOverride: loadCenterOverride,
      loadZoomOverride: loadZoomOverride,
    );