Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
network-assets-topology
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyang
network-assets-topology
Commits
b3961490
Commit
b3961490
authored
1 year ago
by
liyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:debug
parent
b25bb376
Pipeline
#655
canceled with stages
Changes
6
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1917 additions
and
1461 deletions
+1917
-1461
Leaflet.GLMarkers.js
js/libs/Leaflet.GLMarkers.js
+2
-4
three.min.js
js/libs/graph3d/three.min.js
+1
-1
echarts.source.js
js/libs/leaflet-echarts/echarts.source.js
+2
-2
datav3.q.data.js
js/q/datav3.q.data.js
+1
-5
datav3.q.index.js
js/q/datav3.q.index.js
+1909
-1447
datav3.q.map.js
js/q/datav3.q.map.js
+2
-2
No files found.
js/libs/Leaflet.GLMarkers.js
View file @
b3961490
...
...
@@ -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 调试 -------"
);
This diff is collapsed.
Click to expand it.
js/libs/graph3d/three.min.js
View file @
b3961490
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
js/libs/leaflet-echarts/echarts.source.js
View file @
b3961490
...
...
@@ -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,暂不支持
}
This diff is collapsed.
Click to expand it.
js/q/datav3.q.data.js
View file @
b3961490
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 diff is collapsed.
Click to expand it.
js/q/datav3.q.index.js
View file @
b3961490
This source diff could not be displayed because it is too large. You can
view the blob
instead.
This diff is collapsed.
Click to expand it.
js/q/datav3.q.map.js
View file @
b3961490
//自动执行函数
(
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
=
[];
// 实际有效的绘图国家列表
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment