at path:
ROOT
/
sistema
/
vendors
/
jqvmap
/
src
/
VectorCanvas.js
run:
R
W
Run
ColorScale
DIR
2026-04-09 04:12:40
R
W
Run
JQVMap
DIR
2026-04-09 04:12:40
R
W
Run
VectorCanvas
DIR
2026-04-09 04:12:40
R
W
Run
Base.js
2.08 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
ColorScale.js
348 By
2018-11-08 02:46:18
R
W
Run
Delete
Rename
JQVMap.js
6.31 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
VectorCanvas.js
1.14 KB
2018-11-08 02:46:18
R
W
Run
Delete
Rename
error_log
up
📄
VectorCanvas.js
Save
var VectorCanvas = function (width, height, params) { this.mode = window.SVGAngle ? 'svg' : 'vml'; this.params = params; if (this.mode === 'svg') { this.createSvgNode = function (nodeName) { return document.createElementNS(this.svgns, nodeName); }; } else { try { if (!document.namespaces.rvml) { document.namespaces.add('rvml', 'urn:schemas-microsoft-com:vml'); } this.createVmlNode = function (tagName) { return document.createElement('<rvml:' + tagName + ' class="rvml">'); }; } catch (e) { this.createVmlNode = function (tagName) { return document.createElement('<' + tagName + ' xmlns="urn:schemas-microsoft.com:vml" class="rvml">'); }; } document.createStyleSheet().addRule('.rvml', 'behavior:url(#default#VML)'); } if (this.mode === 'svg') { this.canvas = this.createSvgNode('svg'); } else { this.canvas = this.createVmlNode('group'); this.canvas.style.position = 'absolute'; } this.setSize(width, height); }; VectorCanvas.prototype = { svgns: 'http://www.w3.org/2000/svg', mode: 'svg', width: 0, height: 0, canvas: null };