public static BoundedOverlay getLinkedFeatureOverlay ( FeatureOverlay featureOverlay , GeoPackage geoPackage ) { BoundedOverlay overlay ; // Get the linked tile daos FeatureTileTableLinker linker = new FeatureTileTableLinker ( geoPackage ) ; List < TileDao > tileDaos = linker . getTileDaosForFeatureTable ( featureOverlay . getFeatureTiles ( ) . getFeatureDao ( ) . getTableName ( ) ) ; if ( ! tileDaos . isEmpty ( ) ) { // Create a composite overlay to search for existing tiles before drawing from features overlay = getCompositeOverlay ( tileDaos , featureOverlay ) ; } else { overlay = featureOverlay ; } return overlay ; }
Create a composite overlay linking the feature overly with