mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-31 15:12:07 +03:00
Write documentation fo cache/data overhaul. Rename url type to be more explicit.
This commit is contained in:
parent
f03f2a5d31
commit
8b16628950
@ -213,8 +213,8 @@ $.DataTypeConvertor = class {
|
|||||||
return context;
|
return context;
|
||||||
};
|
};
|
||||||
|
|
||||||
this.learn("context2d", "url", (tile, ctx) => ctx.canvas.toDataURL(), 1, 2);
|
this.learn("context2d", "webImageUrl", (tile, ctx) => ctx.canvas.toDataURL(), 1, 2);
|
||||||
this.learn("image", "url", (tile, image) => image.url);
|
this.learn("image", "webImageUrl", (tile, image) => image.url);
|
||||||
this.learn("image", "context2d", canvasContextCreator, 1, 1);
|
this.learn("image", "context2d", canvasContextCreator, 1, 1);
|
||||||
this.learn("url", "image", imageCreator, 1, 1);
|
this.learn("url", "image", imageCreator, 1, 1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user