Skip to content

Commit

Permalink
Add comment on setOpacity
Browse files Browse the repository at this point in the history
  • Loading branch information
sbachinin committed Jan 28, 2024
1 parent f8a52d7 commit efe0104
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/marker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,7 @@ export class Marker extends Evented {

/**
* Sets the `opacity` and `opacityWhenCovered` properties of the marker.
* When called without arguments, resets opacity and opacityWhenCovered to defaults
* @param opacity - Sets the `opacity` property of the marker.
* @param opacityWhenCovered - Sets the `opacityWhenCovered` property of the marker.
* @returns `this`
Expand Down

0 comments on commit efe0104

Please sign in to comment.