public void setStyle ( StyleRow styleRow , GeometryType geometryType ) { if ( geometryType != null ) { if ( styleRow != null ) { styles . put ( geometryType , styleRow ) ; } else { styles . remove ( geometryType ) ; } } else { defaultStyle = styleRow ; } }
Set the style for the geometry type