Skip to content

Commit

Permalink
fix(map): geolocate buffer follow the geolocation while it's tracking (
Browse files Browse the repository at this point in the history
  • Loading branch information
drekss authored and mbarbeau committed Oct 31, 2019
1 parent a51681a commit a2334fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/geo/src/lib/map/shared/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ export class IgoMap {
)
) {
this.overlay.dataSource.ol.removeFeature(this.geolocationFeature);
this.buffer.dataSource.ol.removeFeature(this.bufferFeature);
}
this.geolocationFeature = new olFeature({ geometry });
this.geolocationFeature.setId('geolocationFeature');
Expand Down

0 comments on commit a2334fc

Please sign in to comment.