geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureStyleExtension.java
private void insertStyleMapping(StyleMappingDao mappingDao, long baseId,
                                    long relatedId, GeometryType geometryType) {

        StyleMappingRow row = mappingDao.newRow();

        row.setBaseId(baseId);
        row.setRelatedId(relatedId);
        row.setGeometryType(geometryType);

        mappingDao.insert(row);
    }
private void insertStyleMapping(StyleMappingDao mappingDao, long baseId,
                                    long relatedId, GeometryType geometryType) {

        StyleMappingRow row = mappingDao.newRow();

        row.setBaseId(baseId);
        row.setRelatedId(relatedId);
        row.setGeometryType(geometryType);

        mappingDao.insert(row);
    }
private void insertStyleMapping ( StyleMappingDao mappingDao , long baseId , long relatedId , GeometryType geometryType ) { StyleMappingRow row = mappingDao . newRow ( ) ; row . setBaseId ( baseId ) ; row . setRelatedId ( relatedId ) ; row . setGeometryType ( geometryType ) ; mappingDao . insert ( row ) ; }
Insert a style mapping row

@param mappingDao   mapping dao
@param baseId       base id, either contents id or feature id
@param relatedId    related id, either style or icon id
@param geometryType geometry type or null
Insert a style mapping row