Skip to content

Commit

Permalink
Set size.reserve to false by default in map options
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiia-chorna committed Nov 10, 2024
1 parent 81b5469 commit c3926dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/map/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export class MapOptions extends OptionsGroup {
factor: HTMLOption<'number'>;
mode: HTMLOption<'string'>;
property: HTMLOption<'string'>;
reverse: HTMLOption<'boolean'>;
};
public markerOutline: HTMLOption<'boolean'>;
public joinPoints: HTMLOption<'boolean'>;
Expand Down Expand Up @@ -139,6 +140,7 @@ export class MapOptions extends OptionsGroup {
factor: new HTMLOption('number', 50),
mode: new HTMLOption('string', 'linear'),
property: new HTMLOption('string', ''),
reverse: new HTMLOption('boolean', false),
};
this.size.property.validate = optionValidator(propertiesNames.concat(['']), 'size');
this.size.factor.validate = (value) => {
Expand Down

0 comments on commit c3926dc

Please sign in to comment.