diff --git a/img/iconK8s.png b/img/iconK8s.png index b6b18b2..ed5a8fa 100644 Binary files a/img/iconK8s.png and b/img/iconK8s.png differ diff --git a/img/iconNlb.png b/img/iconNlb.png index df7c2f8..b90e53a 100644 Binary files a/img/iconNlb.png and b/img/iconNlb.png differ diff --git a/img/iconNlbTmp.png b/img/iconNlbTmp.png deleted file mode 100644 index 8d473ec..0000000 Binary files a/img/iconNlbTmp.png and /dev/null differ diff --git a/img/iconSG.png b/img/iconSG.png index 3d7d301..04c8f0e 100644 Binary files a/img/iconSG.png and b/img/iconSG.png differ diff --git a/img/iconVmTmp.png b/img/iconVmTmp.png deleted file mode 100644 index 8eca880..0000000 Binary files a/img/iconVmTmp.png and /dev/null differ diff --git a/img/iconVnet.png b/img/iconVnet.png index c42265a..9670e7f 100644 Binary files a/img/iconVnet.png and b/img/iconVnet.png differ diff --git a/index.js b/index.js index 52b494c..b0cc97c 100644 --- a/index.js +++ b/index.js @@ -397,6 +397,16 @@ var iconStyleVm = new Style({ scale: 0.7, }), }); +addIconToMap("img/iconK8s.png", pnt, "001"); +var iconStyleK8s = new Style({ + image: new Icon({ + crossOrigin: "anonymous", + src: "img/iconK8s.png", + opacity: 1.0, + scale: 0.7, + }), +}); + addIconToMap("img/iconNlb.png", pnt, "001"); var iconStyleNlb = new Style({ @@ -404,7 +414,7 @@ var iconStyleNlb = new Style({ crossOrigin: "anonymous", src: "img/iconNlb.png", opacity: 1.0, - scale: 0.7, + scale: 0.6, }), }); @@ -414,7 +424,7 @@ var iconStyleVnet = new Style({ crossOrigin: "anonymous", src: "img/iconVnet.png", opacity: 1.0, - scale: 0.8, + scale: 0.6, }), }); addIconToMap("img/iconSG.png", pnt, "001"); @@ -423,7 +433,7 @@ var iconStyleSG = new Style({ crossOrigin: "anonymous", src: "img/iconSG.png", opacity: 1.0, - scale: 1.0, + scale: 0.6, }), }); addIconToMap("img/iconKey.png", pnt, "001"); @@ -432,16 +442,7 @@ var iconStyleKey = new Style({ crossOrigin: "anonymous", src: "img/iconKey.png", opacity: 1.0, - scale: 0.7, - }), -}); -addIconToMap("img/iconK8s.png", pnt, "001"); -var iconStyleK8s = new Style({ - image: new Icon({ - crossOrigin: "anonymous", - src: "img/iconK8s.png", - opacity: 1.0, - scale: 0.7, + scale: 0.6, }), });