03 2021 档案
摘要:function CompareDate(d1,d2){ //将所有的短横线替换为斜杠 return ((new Date(d1.replace(/-/g,"\/"))) > (new Date(d2.replace(/-/g,"\/")))); } var current_time = "2007
阅读全文
摘要:需求:通过给定的坐标和层级,算出其所对应的瓦片位置(xyz) function calculateTileXY(_lon, _lat, _level) { let topTileFromX = -180; //坐标系原点的x的值,我这里用的4490, let topTileFromY = 90; /
阅读全文

浙公网安备 33010602011771号