geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureTableStyles.java
public IconRow getIcon(long featureId, GeometryType geometryType) {

        IconRow iconRow = featureStyleExtension.getIcon(tableName, featureId,
                geometryType, false);

        if (iconRow == null) {

            // Table Icon
            Icons icons = getCachedTableIcons();
            if (icons != null) {
                iconRow = icons.getIcon(geometryType);
            }

        }

        return iconRow;
    }
public IconRow getIcon(long featureId, GeometryType geometryType) {

        IconRow iconRow = featureStyleExtension.getIcon(tableName, featureId,
                geometryType, false);

        if (iconRow == null) {

            // Table Icon
            Icons icons = getCachedTableIcons();
            if (icons != null) {
                iconRow = icons.getIcon(geometryType);
            }

        }

        return iconRow;
    }
Get the icon of the feature, searching in order: feature geometry type
icon, feature default icon, table geometry type icon, table default icon

@param featureId    feature id
@param geometryType geometry type
@return icon row