Skip to content

Commit

Permalink
fix(draw): drawing circle crash whole drawing component. (#1273)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3998dcc)
  • Loading branch information
pelord authored and alecarn committed Jun 12, 2023
1 parent acdb72a commit e3ee3b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/geo/src/lib/draw/draw/draw.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,7 @@ export class DrawComponent implements OnInit, OnDestroy {
feature.get('drawingStyle').stroke,
feature.get('offsetX'),
feature.get('offsetY'),
this.map.projection,
this.icon
);
},
Expand Down Expand Up @@ -1347,6 +1348,7 @@ export class DrawComponent implements OnInit, OnDestroy {
feature.get('drawingStyle').stroke,
feature.get('offsetX'),
feature.get('offsetY'),
this.map.projection,
this.icon
);
});
Expand Down

0 comments on commit e3ee3b5

Please sign in to comment.