ol 10.2.2-dev.1731616041609 → 10.2.2-dev.1731985922594
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/layer/BaseTile.d.ts +7 -0
- package/layer/BaseTile.d.ts.map +1 -1
- package/layer/BaseTile.js +2 -0
- package/package.json +1 -1
- package/util.js +1 -1
package/layer/BaseTile.d.ts
CHANGED
|
@@ -64,6 +64,11 @@ export type Options<TileSourceType extends import("../source/Tile.js").default>
|
|
|
64
64
|
* use {@link import ("../Map.js").default#addLayer map.addLayer()}.
|
|
65
65
|
*/
|
|
66
66
|
map?: import("../Map.js").default | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Background color for the layer. If not specified, no background
|
|
69
|
+
* will be rendered.
|
|
70
|
+
*/
|
|
71
|
+
background?: import("./Base").BackgroundColor | undefined;
|
|
67
72
|
/**
|
|
68
73
|
* Deprecated. Use interim tiles on error.
|
|
69
74
|
*/
|
|
@@ -116,6 +121,8 @@ export type Options<TileSourceType extends import("../source/Tile.js").default>
|
|
|
116
121
|
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
|
117
122
|
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
|
|
118
123
|
* use {@link import("../Map.js").default#addLayer map.addLayer()}.
|
|
124
|
+
* @property {import("./Base.js").BackgroundColor} [background] Background color for the layer. If not specified, no background
|
|
125
|
+
* will be rendered.
|
|
119
126
|
* @property {boolean} [useInterimTilesOnError=true] Deprecated. Use interim tiles on error.
|
|
120
127
|
* @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
|
|
121
128
|
* @property {number} [cacheSize=512] The internal tile cache size. This needs to be large enough to render
|
package/layer/BaseTile.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTile.d.ts","sourceRoot":"","sources":["BaseTile.js"],"names":[],"mappings":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AO,QAAQ,EAAE,yBAAyB,GAC7H,OAAW,YAAY,EAAE,cAAc,GAAC,gBAAgB,GAAC,+BAA+B,GAAC,OAAO,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,CAAC;oBAInG,cAAc,SAApD,OAAQ,mBAAmB,EAAE,OAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAXlD;;;;;;;;GAQG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH;;;;;;;;;;;;GAYG;AACH,4BALmD,cAAc,SAApD,OAAQ,mBAAmB,EAAE,OAAQ,EACI,YAAY,SAArD,2CAAwC;IAKnD;;OAEG;IACH,2DAuCC;IA3BC;;OAEG;IACH,IAFU,wBAAwB,CAAC,OAAO,WAAW,EAAE,SAAS,CAAC,CAE1D;IAEP;;OAEG;IACH,MAFU,wBAAwB,CAAC,OAAO,WAAW,EAAE,SAAS,CAAC,CAExD;IAET;;OAEG;IACH,IAFU,wBAAwB,CAAC,IAAI,CAAC,CAEjC;IAEP;;;OAGG;IACH,mBAA2B;IAU7B;;;OAGG;IACH,0BAHY,MAAM,GAAC,SAAS,CAK3B;IAED;;;;;OAKG;IACH,cAJY,MAAM,CAMjB;IAED;;;;;OAKG;IACH,oBAJW,MAAM,QAMhB;IAED;;;;;OAKG;IACH,6BAJY,OAAO,CAQlB;IAED;;;;;OAKG;IACH,kDAJW,OAAO,QAMjB;CAsBF;kBAhLiB,YAAY"}
|
package/layer/BaseTile.js
CHANGED
|
@@ -41,6 +41,8 @@ import TileProperty from './TileProperty.js';
|
|
|
41
41
|
* this layer in its layers collection, and the layer will be rendered on top. This is useful for
|
|
42
42
|
* temporary layers. The standard way to add a layer to a map and have it managed by the map is to
|
|
43
43
|
* use {@link import("../Map.js").default#addLayer map.addLayer()}.
|
|
44
|
+
* @property {import("./Base.js").BackgroundColor} [background] Background color for the layer. If not specified, no background
|
|
45
|
+
* will be rendered.
|
|
44
46
|
* @property {boolean} [useInterimTilesOnError=true] Deprecated. Use interim tiles on error.
|
|
45
47
|
* @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
|
|
46
48
|
* @property {number} [cacheSize=512] The internal tile cache size. This needs to be large enough to render
|
package/package.json
CHANGED
package/util.js
CHANGED