Skip to content

Commit

Permalink
feat: add clickTolerance as an Input for MapComponent #135 (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamim-khan authored and dmytro-gokun committed Oct 23, 2019
1 parent bdb2e0c commit 055f90e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects/ngx-mapbox-gl/src/lib/map/map.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export class MapComponent implements OnChanges, OnDestroy, AfterViewInit, MapEve
@Input() bearingSnap?: number;
@Input() interactive?: boolean;
@Input() pitchWithRotate?: boolean;
@Input() clickTolerance?: number;
@Input() attributionControl?: boolean;
@Input() logoPosition?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
@Input() maxTileCacheSize?: number;
Expand Down Expand Up @@ -166,6 +167,7 @@ export class MapComponent implements OnChanges, OnDestroy, AfterViewInit, MapEve
interactive: this.interactive,
bearingSnap: this.bearingSnap,
pitchWithRotate: this.pitchWithRotate,
clickTolerance: this.clickTolerance,
classes: this.classes,
attributionControl: this.attributionControl,
logoPosition: this.logoPosition,
Expand Down

0 comments on commit 055f90e

Please sign in to comment.