微件:Sandbox:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的2个中间版本) | |||
| 第1行: | 第1行: | ||
<noinclude> | <noinclude> | ||
{{#widget:sandbox|map=101}} | {{#widget:sandbox|map=101}} | ||
</noinclude><includeonly><canvas id=' | </noinclude><includeonly><canvas id="map-<!--{$map|escape:'quotes'}-->" width='1024' height='576' style='background-image:url(/wg_img/ccbResources/map/<!--{$map|escape:'url'}-->.jpg); background-position:center'></canvas><script src='https://cruiseliu.github.io/zjsnrwiki/data/pveData.js'></script><script> | ||
var mapId = "<!--{$map|escape:'quotes'}-->"; | var mapId = "<!--{$map|escape:'quotes'}-->"; | ||
| 第64行: | 第64行: | ||
function drawPath(img) { | function drawPath(img) { | ||
var canvas = document.createElement(' | var canvas = document.createElement('canvas'); | ||
canvas.width = img.width; | canvas.width = img.width; | ||
canvas.height = img.height; | canvas.height = img.height; | ||
2016年10月7日 (五) 05:43的最新版本