Skip to content

Commit

Permalink
Update icon images
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-github-robot authored Oct 28, 2024
2 parents ef9b044 + 78592fa commit 9fb0030
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 13 deletions.
Binary file modified img/iconK8s.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/iconNlb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/iconNlbTmp.png
Binary file not shown.
Binary file modified img/iconSG.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/iconVmTmp.png
Binary file not shown.
Binary file modified img/iconVnet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 14 additions & 13 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,14 +397,24 @@ 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({
image: new Icon({
crossOrigin: "anonymous",
src: "img/iconNlb.png",
opacity: 1.0,
scale: 0.7,
scale: 0.6,
}),
});

Expand All @@ -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");
Expand All @@ -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");
Expand All @@ -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,
}),
});

Expand Down

0 comments on commit 9fb0030

Please sign in to comment.