@@ -308,59 +308,6 @@ function endpointChanged() {
308
308
}
309
309
window . endpointChanged = endpointChanged ;
310
310
311
- var mcisGeo2 = [ ] ;
312
- //mcisGeo2.push([-180, -90]);
313
-
314
- for ( var i = 0 ; i < cntInit ; ++ i ) {
315
- var lon = 300 * Math . random ( ) - 180 ;
316
- var lat = 100 * Math . random ( ) - 90 ;
317
-
318
- var testPoints = [ ] ;
319
-
320
- lon = - 60 ;
321
- lat = - 60 ;
322
-
323
- if ( i == 0 ) {
324
- testPoints . push ( [ - 42 , - 19 ] ) ;
325
- testPoints . push ( [ - 44 , - 11 ] ) ;
326
- testPoints . push ( [ 27 , - 29 ] ) ;
327
- testPoints . push ( [ 29 , - 25 ] ) ;
328
- mcisName [ i ] = "[M1] " + "Running-(4/4)" ;
329
- mcisStatus [ i ] = "Running-(4/4)" ;
330
- }
331
- if ( i == 1 ) {
332
- testPoints . push ( [ - 121 , 45 ] ) ;
333
- testPoints . push ( [ - 100 , 46 ] ) ;
334
- testPoints . push ( [ - 80 , 35 ] ) ;
335
- testPoints . push ( [ - 117 , 34 ] ) ;
336
- mcisName [ i ] = "[M2] " + "Running-(4/4)" ;
337
- mcisStatus [ i ] = "Running-(4/4)" ;
338
- }
339
- if ( i == 2 ) {
340
- testPoints . push ( [ 2 , 49 ] ) ;
341
- testPoints . push ( [ 14 , 52 ] ) ;
342
- testPoints . push ( [ 22 , 51 ] ) ;
343
- testPoints . push ( [ 23 , 48 ] ) ;
344
- testPoints . push ( [ 13 , 46 ] ) ;
345
- testPoints . push ( [ 7 , 45 ] ) ;
346
- mcisName [ i ] = "[M3] " + "Running-(6/6)" ;
347
- mcisStatus [ i ] = "Running-(6/6)" ;
348
- }
349
-
350
- mcisGeo [ i ] = new Polygon ( [
351
- [
352
- [ lon , lat ] ,
353
- [ lon + 5 , lat + 5 ] ,
354
- [ lon - 5 , lat - 5 ] ,
355
- [ lon , lat ] ,
356
- ] ,
357
- ] ) ;
358
- geometriesPoints [ i ] = new MultiPoint ( [ testPoints ] ) ;
359
-
360
- testPoints = convexHull ( testPoints ) ;
361
- testPoints . push ( testPoints [ 0 ] ) ;
362
- geometries [ i ] = new Polygon ( [ testPoints ] ) ;
363
- }
364
311
365
312
var alpha = 0.3 ;
366
313
var cororList = [
@@ -469,9 +416,9 @@ const cspIconImg = {
469
416
tencent : "img/tencent.png" ,
470
417
ncpvpc : "img/ncpvpc.png" ,
471
418
ncp : "img/ncp.png" ,
472
- ktvpc : "img/ktvpc .png" ,
473
- kt : "img/kt .png" ,
474
- nhn : "img/nhn.png" ,
419
+ ktcloud : "img/kt .png" ,
420
+ ktcloudvpc : "img/ktvpc .png" ,
421
+ nhncloud : "img/nhn.png" ,
475
422
476
423
// Add more CSP icons here
477
424
} ;
@@ -3167,7 +3114,7 @@ window.onload = function () {
3167
3114
3168
3115
// Draw
3169
3116
3170
- function drawMCIS ( event ) {
3117
+ function drawObjects ( event ) {
3171
3118
//event.frameState = event.frameState / 10;
3172
3119
//console.log("event.frameState");
3173
3120
//console.log(event.frameState);
@@ -3261,7 +3208,7 @@ function drawMCIS(event) {
3261
3208
}
3262
3209
3263
3210
tileLayer . on ( "postrender" , function ( event ) {
3264
- drawMCIS ( event ) ;
3211
+ drawObjects ( event ) ;
3265
3212
} ) ;
3266
3213
3267
3214
// Section for general tools
0 commit comments