예제 #1
0
 /// <inheritdoc />
 public override void RefreshData(BoundingBox extent, double resolution, ChangeType changeType)
 {
     if (Enabled && extent.GetArea() > 0 && _tileFetchDispatcher != null && MaxVisible >= resolution && MinVisible <= resolution)
     {
         _tileFetchDispatcher.SetViewport(extent, resolution);
         _tileFetchDispatcher.StartFetching();
     }
 }
예제 #2
0
 /// <inheritdoc />
 public void RefreshData(FetchInfo fetchInfo)
 {
     if (Enabled &&
         fetchInfo.Extent?.GetArea() > 0 &&
         MaxVisible >= fetchInfo.Resolution &&
         MinVisible <= fetchInfo.Resolution)
     {
         _tileFetchDispatcher.SetViewport(fetchInfo);
         _tileFetchDispatcher.StartFetching();
     }
 }