Skip to content

Commit

Permalink
Uppate to release (#123)
Browse files Browse the repository at this point in the history
* Fix param in profile control
update deps

* update version
  • Loading branch information
Siedlerchr committed May 1, 2023
1 parent 1ed8c86 commit f020250
Show file tree
Hide file tree
Showing 4 changed files with 373 additions and 357 deletions.
2 changes: 2 additions & 0 deletions @types/ol-ext/control/Bar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export interface Options extends ControlOptions {
*/
export default class Bar extends ol_control_Control {
/**
* @fires control:active
* @fires control:adds
* @param {Object=} options Control options.
* @param {String} options.className class of the control
* @param {bool} options.group is a group, default false
Expand Down
10 changes: 5 additions & 5 deletions @types/ol-ext/control/Profile.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ export default class Profil extends ol_control_Control {
* @api stable
*/
popup(info: string): void;

/**
* Refresh the profil
*/
refresh(): void;

/** Show point at coordinate or a distance on the profil
* @param { Coordinate|number } where a coordinate or a distance from begining, if none it will hide the point
* @return {Coordinate} current point
Expand All @@ -77,9 +77,9 @@ export default class Profil extends ol_control_Control {
* @param { number } time time at which to show the point
* @return { Coordinate } current point
*/
pointAtTime(time): Coordinate;
/** Show panel
pointAtTime(time: number): Coordinate;

/** Show panels
* @api stable
*/
show(): void;
Expand Down

0 comments on commit f020250

Please sign in to comment.