Skip to content

Commit

Permalink
fix: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kai Volland committed Nov 24, 2022
1 parent f9e25fb commit bceab6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MapboxStyleParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ export class MapboxStyleParser implements StyleParser {
*/
writeStyle(geoStylerStyle: Style): Promise<WriteStyleResult<string>> {
return new Promise<WriteStyleResult<string>>(resolve => {
const unsupportedProperties = this.checkForUnsupportedProperites(geoStylerStyle);
const unsupportedProperties = this.checkForUnsupportedProperties(geoStylerStyle);
try {
const gsStyle = _cloneDeep(geoStylerStyle);
const mapboxStyle: any = this.geoStylerStyleToMapboxObject(gsStyle);
Expand Down Expand Up @@ -1392,7 +1392,7 @@ export class MapboxStyleParser implements StyleParser {
return layout;
}

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 bceab6b

Please sign in to comment.