File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,10 @@ The GeoPackage JavaScript library currently provides the ability to read GeoPack
3838
3939### Changelog
4040
41+ ##### 3.0.8
42+
43+ - If a null color is set on the FeatureTiles class, the color will be reset to the initial default of #000000FF
44+
4145##### 3.0.7
4246
4347- Styles that are set on the FeatureTiles class will override any styles in the GeoPackage
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ export class Paint {
1818 * @param {String } color String color in the format #RRGGBB or #RRGGBBAA
1919 */
2020 set color ( color : string ) {
21+ if ( ! color ) {
22+ color = '#000000FF' ;
23+ }
2124 this . _color = color ;
2225 }
2326 /**
Original file line number Diff line number Diff line change 11{
22 "name" : " @ngageoint/geopackage" ,
3- "version" : " 3.0.7 " ,
3+ "version" : " 3.0.8 " ,
44 "description" : " GeoPackage JavaScript Library" ,
55 "keywords" : [
66 " NGA" ,
You can’t perform that action at this time.
0 commit comments