Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
OS-giulianasilva committed Dec 14, 2023
1 parent 1f4e609 commit 24f7d40
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/OSFramework/Maps/OSMap/AbstractMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,8 @@ namespace OSFramework.Maps.OSMap {
shape.dispose();
this._shapes.delete(shapeId);
this._shapesSet.delete(shape);
// After removing a marker, we need to refresh the Map to reflect the zoom, offset and center position of the Map
// After removing a shape, we need to refresh the Map to reflect the zoom, offset and center position of the Map
if (this._isReady) {
// If the shape does not have autoZoom enabled, we don't want to modified the zoom when removing it
this.refresh();
}
}
Expand Down

0 comments on commit 24f7d40

Please sign in to comment.