Skip to content

Commit

Permalink
Merge pull request #768 from buehner/fix-typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
marcjansen authored Feb 11, 2023
2 parents 85fc09f + 4a02d8a commit bb804eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SldStyleParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ export class SldStyleParser implements StyleParser<string> {
*/
writeStyle(geoStylerStyle: Style): Promise<WriteStyleResult<string>> {
return new Promise<WriteStyleResult<string>>(resolve => {
const unsupportedProperties = this.checkForUnsupportedProperites(geoStylerStyle);
const unsupportedProperties = this.checkForUnsupportedProperties(geoStylerStyle);
try {
const sldObject = this.geoStylerStyleToSldObject(geoStylerStyle);
const sldString = this.builder.build(sldObject);
Expand Down Expand Up @@ -2396,7 +2396,7 @@ export class SldStyleParser implements StyleParser<string> {
return sldContrastEnhancement;
}

checkForUnsupportedProperites(geoStylerStyle: Style): UnsupportedProperties | undefined {
checkForUnsupportedProperties(geoStylerStyle: Style): UnsupportedProperties | undefined {
const capitalizeFirstLetter = (a: string) => a[0].toUpperCase() + a.slice(1);
const unsupportedProperties: UnsupportedProperties = {};
geoStylerStyle.rules.forEach(rule => {
Expand Down

0 comments on commit bb804eb

Please sign in to comment.