MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / toDataURL

Method toDataURL

src/common/overlay/levelRenderer/Render.js:404–406  ·  view source on GitHub ↗

* @function LevelRenderer.Render.prototype.toDataURL * @description 图像导出。 * * @param {string} type - 类型。 * @param {string} backgroundColor - 背景色,默认值:"#FFFFFF"。 * @param {string} args - 参数。 * @return {string} 图片的 Base64 URL。

(type, backgroundColor, args)

Source from the content-addressed store, hash-verified

402 * @return {string} 图片的 Base64 URL。
403 */
404 toDataURL(type, backgroundColor, args) {
405 return this.painter.toDataURL(type, backgroundColor, args);
406 }
407
408 /**
409 * @function LevelRenderer.Render.prototype.shapeToImage

Callers 15

RenderSpec.jsFile · 0.45
PainterSpec.jsFile · 0.45
_createGraphicLayerMethod · 0.45
loadImagePromiseMethod · 0.45
getChangedImageUrlFunction · 0.45
imgDataToBlobFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected