Skip to content

Commit 966fe7f

Browse files
committed
Website updates
1 parent 427ac9b commit 966fe7f

File tree

417 files changed

+654
-659
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

417 files changed

+654
-659
lines changed

dist/en/main/ol/Collection.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ declare class Collection<T> extends BaseObject {
6969
* @param {Array<T>} [array] Array.
7070
* @param {Options} [options] Collection options.
7171
*/
72-
constructor(array?: T[] | undefined, options?: Options | undefined);
72+
constructor(array?: Array<T>, options?: Options);
7373
/***
7474
* @type {CollectionOnSignature<T, import("./events").EventsKey>}
7575
*/

dist/en/main/ol/Collection.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/Feature.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ declare class Feature<Geometry extends import("./geom/Geometry.js").default = im
9191
* properties. If you pass an object literal, you may include a Geometry
9292
* associated with a `geometry` key.
9393
*/
94-
constructor(geometryOrProperties?: Geometry | ObjectWithGeometry<Geometry> | undefined);
94+
constructor(geometryOrProperties?: Geometry | ObjectWithGeometry<Geometry>);
9595
/***
9696
* @type {FeatureOnSignature<import("./events").EventsKey>}
9797
*/
@@ -201,7 +201,7 @@ declare class Feature<Geometry extends import("./geom/Geometry.js").default = im
201201
* @api
202202
* @fires module:ol/events/Event~BaseEvent#event:change
203203
*/
204-
setStyle(style?: import("./style/Style.js").StyleLike | undefined): void;
204+
setStyle(style?: import("./style/Style.js").StyleLike): void;
205205
/**
206206
* Set the feature id. The feature id is considered stable and may be used when
207207
* requesting features or comparing identifiers returned from a remote source.

dist/en/main/ol/Feature.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/Geolocation.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ declare class Geolocation extends BaseObject {
9696
/**
9797
* @param {Options} [options] Options.
9898
*/
99-
constructor(options?: Options | undefined);
99+
constructor(options?: Options);
100100
/***
101101
* @type {GeolocationOnSignature<import("./events").EventsKey>}
102102
*/

dist/en/main/ol/Geolocation.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/Image.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ export function listenImage(image: import("./DataTile.js").ImageLike, loadHandle
1212
* @return {Promise<HTMLImageElement>} Promise resolving to an `HTMLImageElement`.
1313
* @api
1414
*/
15-
export function load(image: HTMLImageElement, src?: string | undefined): Promise<HTMLImageElement>;
15+
export function load(image: HTMLImageElement, src?: string): Promise<HTMLImageElement>;
1616
/**
1717
* @param {HTMLImageElement} image Image, not yet loaded.
1818
* @param {string} [src] `src` attribute of the image. Optional, not required if already present.
1919
* @return {Promise<HTMLImageElement>} Promise resolving to an `HTMLImageElement`.
2020
*/
21-
export function decodeFallback(image: HTMLImageElement, src?: string | undefined): Promise<HTMLImageElement>;
21+
export function decodeFallback(image: HTMLImageElement, src?: string): Promise<HTMLImageElement>;
2222
/**
2323
* Loads an image and decodes it to an `ImageBitmap` if `createImageBitmap()` is supported. Returns
2424
* the loaded image otherwise.
@@ -28,7 +28,7 @@ export function decodeFallback(image: HTMLImageElement, src?: string | undefined
2828
* `HTMLImageElement` if `createImageBitmap()` is not supported.
2929
* @api
3030
*/
31-
export function decode(image: HTMLImageElement, src?: string | undefined): Promise<ImageBitmap | HTMLImageElement>;
31+
export function decode(image: HTMLImageElement, src?: string): Promise<ImageBitmap | HTMLImageElement>;
3232
export default ImageWrapper;
3333
/**
3434
* A function that takes an {@link module :ol/Image~ImageWrapper} for the image and a

dist/en/main/ol/Image.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/ImageCanvas.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ declare class ImageCanvas extends ImageWrapper {
2323
* @param {Loader} [loader] Optional loader function to
2424
* support asynchronous canvas drawing.
2525
*/
26-
constructor(extent: import("./extent.js").Extent, resolution: number, pixelRatio: number, canvas: HTMLCanvasElement, loader?: Loader | undefined);
26+
constructor(extent: import("./extent.js").Extent, resolution: number, pixelRatio: number, canvas: HTMLCanvasElement, loader?: Loader);
2727
/**
2828
* Optional canvas loader function.
2929
* @type {?Loader}

dist/en/main/ol/ImageCanvas.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)