Skip to content

Commit

Permalink
Apply bounding sector for WebImageLayers from GPKG content.
Browse files Browse the repository at this point in the history
  • Loading branch information
ComBatVision committed Jun 15, 2024
1 parent e78623b commit 1a67f2e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ class GpkgContentManager(val pathName: String, val isReadOnly: Boolean = false):

else -> null // It is not a known Web Layer type
}?.apply {
// Apply bounding sector from content
tiledSurfaceImage?.levelSet?.sector?.copy(config.sector)
// Configure cache for Web Layer
tiledSurfaceImage?.cacheTileFactory = GpkgTileFactory(geoPackage, content, service.outputFormat)
}
Expand Down

0 comments on commit 1a67f2e

Please sign in to comment.