Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update icon images #152

Merged
merged 3 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading