Commit b3961490 authored by liyang's avatar liyang

fix:debug

parent b25bb376
Pipeline #655 canceled with stages
......@@ -4,7 +4,7 @@
// 所有返回4x4矩阵的操作都是基于表示为16个元素数组的矩阵
console.log("Leaflet.GLMarkers 正在运行");
console.log("------ Leaflet.GLMarkers:严格模式 debug ------");
// 将两个4x4矩阵相乘,以16个元素数组的形式给出
function matrixMultiply(a, b) {
......@@ -95,9 +95,7 @@ L.GLMarker = L.Class.extend({
// 设置一个全局变量
L.Browser.gl = false;
console.log("------- Leaflet.GLMarker 调试 ----------");
try {
console.log("------- Leaflet.GLMarker 调试 ----------");
// return
// 创建一个canvas元素并获取WebGL上下文
var canvas = document.createElement("canvas");
......@@ -257,4 +255,4 @@ L.GLMarkerGroup = L.Layer.extend({
},
});
console.log("------- Leaflet.GLMarker 调试 ----------");
console.log("------- Leaflet.GLMarker 调试 -------");
......@@ -3036,7 +3036,7 @@
return 1020 === a && (b = ka.get("WEBGL_depth_texture"),
null !== b) ? b.UNSIGNED_INT_24_8_WEBGL : 0
}
console.log("THREE.WebGLRenderer", "82");
// console.log("THREE.WebGLRenderer", "82");
a = a || {};
var v = void 0 !== a.canvas ? a.canvas : document.createElementNS("http://www.w3.org/1999/xhtml", "canvas")
, I = void 0 !== a.context ? a.context : null
......
......@@ -4374,7 +4374,7 @@
* 特殊地区投射数据
*/
_getSpecialProjectionData: function(mapType, mapData, areaName, mapSize, position) {
//console.log('_getSpecialProjectionData--------------')
//console.log('_getSpecialProjectionData-----------')
// 构造单独的geoJson地图数据
mapData = this._getSubMapData('x|' + areaName, mapData);
......@@ -16642,7 +16642,7 @@
// 玫瑰线 不准确
case 'rose':
return isInsideCircle(area, x, y, area.maxr);
// 路径,椭圆,曲线等-----------------13
// 路径,椭圆,曲线等--------------13
default:
return false; // Todo,暂不支持
}
console.log("------ datav3.q.data.js debug ------");
var _ajax_url_ = datav_config.server_url;
var img_url = datav_config.images_url;
// var img_url = datav_config.ajax_images_url;
......@@ -1854,13 +1855,8 @@ var fetchData = (function () {
$infos.each(function (i, d) {
$(this).html(infos_data[i]);
});
// ------------------
console.log("--------debug--------");
console.log(data.countryTop5);
$global.find(".top5 img").each(function (i, d) {
// ------------------
console.log(i);
// ------------------
var imgsrc = "./images/qi/" + data.countryTop5[i] + ".png";
$(this).attr("src", imgsrc);
$(this).next().html(data.countryTop5[i]);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
//自动执行函数
(function () {
console.log("-----datav3.q.map debug--------")
console.log("------ datav3.q.map debug ------")
// 公共鼠标拾取变量
var raycaster = new THREE.Raycaster();
var mouse = new THREE.Vector2();
......@@ -525,7 +525,7 @@
country_AScount_list.push(_.size(country_ASes));
}
var country_AScount_max = _.max(country_AScount_list);
console.log("---------------")
console.log("------------")
// 点处理
var Land_points = new THREE.Geometry();
valid_country_names = []; // 实际有效的绘图国家列表
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment