location icons v1
14
map.js
|
@ -258,12 +258,12 @@ function pullguilds() {
|
||||||
|
|
||||||
let locObj = L.marker(latlng, {icon: L.icon({
|
let locObj = L.marker(latlng, {icon: L.icon({
|
||||||
//iconUrl: '/media/icons/' + (newIcons ? "new/" : "old/" ) + loc.icon,
|
//iconUrl: '/media/icons/' + (newIcons ? "new/" : "old/" ) + loc.icon,
|
||||||
iconUrl: '/media/icons/maplocstemp/'+ loc.icon,
|
iconUrl: '/media/icons/locations/' + loc.icon,
|
||||||
iconSize: [16,16],
|
iconSize: [24,24],
|
||||||
iconAnchor: [8,8],
|
iconAnchor: [12,12],
|
||||||
shadowUrl: '/media/icons/' + (newIcons ? "new/" : "old/" ) + 'shadow.png',
|
shadowUrl: '/media/icons/' + (newIcons ? "new/" : "old/" ) + 'shadow.png',
|
||||||
shadowSize: [1,1],
|
shadowSize: [1,1],
|
||||||
shadowAnchor: [8,8],
|
shadowAnchor: [12,12],
|
||||||
className: "marker"
|
className: "marker"
|
||||||
})});
|
})});
|
||||||
locObj.addTo(map);
|
locObj.addTo(map);
|
||||||
|
@ -277,9 +277,9 @@ function pullguilds() {
|
||||||
let li = document.createElement("li");
|
let li = document.createElement("li");
|
||||||
|
|
||||||
let i = document.createElement("img");
|
let i = document.createElement("img");
|
||||||
i.src = "./media/icons/maplocstemp/" + img;
|
i.src = "./media/icons/locations/" + img;
|
||||||
i.style.maxWidth = "16px";
|
i.style.maxWidth = "32px";
|
||||||
i.style.maxHeight = "16px";
|
i.style.maxHeight = "32px";
|
||||||
li.appendChild(i);
|
li.appendChild(i);
|
||||||
|
|
||||||
let name = img.replace(".png","");
|
let name = img.replace(".png","");
|
||||||
|
|
BIN
media/icons/locations/Content_BossAltar.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
media/icons/locations/Content_Cave.png
Normal file
After Width: | Height: | Size: 530 B |
BIN
media/icons/locations/Content_CorruptedDungeon.png
Normal file
After Width: | Height: | Size: 761 B |
BIN
media/icons/locations/Content_Dungeon.png
Normal file
After Width: | Height: | Size: 726 B |
BIN
media/icons/locations/Content_GrindSpot.png
Normal file
After Width: | Height: | Size: 437 B |
BIN
media/icons/locations/Content_Miniquest.png
Normal file
After Width: | Height: | Size: 575 B |
BIN
media/icons/locations/Content_Quest.png
Normal file
After Width: | Height: | Size: 822 B |
BIN
media/icons/locations/Content_Raid.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
media/icons/locations/Content_UltimateDiscovery.png
Normal file
After Width: | Height: | Size: 429 B |
BIN
media/icons/locations/Merchant_Accessory.png
Normal file
After Width: | Height: | Size: 797 B |
BIN
media/icons/locations/Merchant_Armour.png
Normal file
After Width: | Height: | Size: 532 B |
BIN
media/icons/locations/Merchant_Dungeon.png
Normal file
After Width: | Height: | Size: 548 B |
BIN
media/icons/locations/Merchant_Emerald.png
Normal file
After Width: | Height: | Size: 691 B |
BIN
media/icons/locations/Merchant_Horse.png
Normal file
After Width: | Height: | Size: 874 B |
BIN
media/icons/locations/Merchant_KeyForge.png
Normal file
After Width: | Height: | Size: 812 B |
BIN
media/icons/locations/Merchant_Liquid.png
Normal file
After Width: | Height: | Size: 770 B |
BIN
media/icons/locations/Merchant_Other.png
Normal file
After Width: | Height: | Size: 614 B |
BIN
media/icons/locations/Merchant_Potion.png
Normal file
After Width: | Height: | Size: 682 B |
BIN
media/icons/locations/Merchant_Scroll.png
Normal file
After Width: | Height: | Size: 790 B |
BIN
media/icons/locations/Merchant_Seasail.png
Normal file
After Width: | Height: | Size: 851 B |
BIN
media/icons/locations/Merchant_Tool.png
Normal file
After Width: | Height: | Size: 899 B |
BIN
media/icons/locations/Merchant_Weapon.png
Normal file
After Width: | Height: | Size: 850 B |
BIN
media/icons/locations/NPC_Blacksmith.png
Normal file
After Width: | Height: | Size: 704 B |
BIN
media/icons/locations/NPC_GuildMaster.png
Normal file
After Width: | Height: | Size: 872 B |
BIN
media/icons/locations/NPC_ItemIdentifier.png
Normal file
After Width: | Height: | Size: 784 B |
BIN
media/icons/locations/NPC_PowderMaster.png
Normal file
After Width: | Height: | Size: 812 B |
BIN
media/icons/locations/NPC_TradeMarket.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
media/icons/locations/Profession_Alchemism.png
Normal file
After Width: | Height: | Size: 826 B |
BIN
media/icons/locations/Profession_Armouring.png
Normal file
After Width: | Height: | Size: 741 B |
BIN
media/icons/locations/Profession_Cooking.png
Normal file
After Width: | Height: | Size: 844 B |
BIN
media/icons/locations/Profession_Jeweling.png
Normal file
After Width: | Height: | Size: 766 B |
BIN
media/icons/locations/Profession_Scribing.png
Normal file
After Width: | Height: | Size: 745 B |
BIN
media/icons/locations/Profession_Tailoring.png
Normal file
After Width: | Height: | Size: 743 B |
BIN
media/icons/locations/Profession_Weaponsmithing.png
Normal file
After Width: | Height: | Size: 741 B |
BIN
media/icons/locations/Profession_Woodworking.png
Normal file
After Width: | Height: | Size: 793 B |
BIN
media/icons/locations/Special_FastTravel.png
Normal file
After Width: | Height: | Size: 541 B |
BIN
media/icons/locations/Special_LightRealm.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
media/icons/locations/Special_RootsOfCorruption.png
Normal file
After Width: | Height: | Size: 655 B |
BIN
media/icons/locations/Special_Rune.png
Normal file
After Width: | Height: | Size: 956 B |
BIN
media/icons/locations/painting.png
Normal file
After Width: | Height: | Size: 588 B |
BIN
media/icons/locations/tnt.png
Normal file
After Width: | Height: | Size: 970 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 521 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 464 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 318 B |
|
@ -1,8 +1,9 @@
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
imgs = ["Content_Dungeon.png", "Content_CorruptedDungeon.png", "Content_Quest.png", "Merchant_Emerald.png", "NPC_Blacksmith.png", "NPC_ItemIdentifier.png", "NPC_PowderMaster.png", "Merchant_Potion.png", "Merchant_Armour.png", "Merchant_Weapon.png", "Merchant_Liquid.png", "Merchant_Other.png", "Merchant_Scroll.png", "Merchant_Accessory.png", "Merchant_Tool.png", "painting.png", "Profession_Weaponsmithing.png", "Profession_Armouring.png", "Profession_Alchemism.png", "Profession_Jeweling.png", "Profession_Tailoring.png", "Profession_Scribing.png", "Profession_Cooking.png", "Profession_Woodworking.png", "Content_Miniquest.png", "Special_RootsOfCorruption.png", "Special_FastTravel.png", "Special_LightRealm.png", "Special_Rune.png", "Content_UltimateDiscovery.png", "Merchant_KeyForge.png", "NPC_GuildMaster.png", "Content_GrindSpot.png", "Content_Cave.png", "NPC_TradeMarket.png", "Content_BossAltar.png", "Content_Raid.png", "Merchant_Dungeon.png", "tnt.png", "Merchant_Seasail.png", "Merchant_Horse.png"]
|
#imgs = ["Content_Dungeon.png", "Content_CorruptedDungeon.png", "Content_Quest.png", "Merchant_Emerald.png", "NPC_Blacksmith.png", "NPC_ItemIdentifier.png", "NPC_PowderMaster.png", "Merchant_Potion.png", "Merchant_Armour.png", "Merchant_Weapon.png", "Merchant_Liquid.png", "Merchant_Other.png", "Merchant_Scroll.png", "Merchant_Accessory.png", "Merchant_Tool.png", "painting.png", "Profession_Weaponsmithing.png", "Profession_Armouring.png", "Profession_Alchemism.png", "Profession_Jeweling.png", "Profession_Tailoring.png", "Profession_Scribing.png", "Profession_Cooking.png", "Profession_Woodworking.png", "Content_Miniquest.png", "Special_RootsOfCorruption.png", "Special_FastTravel.png", "Special_LightRealm.png", "Special_Rune.png", "Content_UltimateDiscovery.png", "Merchant_KeyForge.png", "NPC_GuildMaster.png", "Content_GrindSpot.png", "Content_Cave.png", "NPC_TradeMarket.png", "Content_BossAltar.png", "Content_Raid.png", "Merchant_Dungeon.png", "tnt.png", "Merchant_Seasail.png", "Merchant_Horse.png"]
|
||||||
|
imgs = ["Merchant_Emerald.png", "NPC_Blacksmith.png", "NPC_ItemIdentifier.png", "NPC_PowderMaster.png", "Merchant_Potion.png", "Merchant_Armour.png", "Merchant_Weapon.png", "Merchant_Liquid.png", "Merchant_Other.png", "Merchant_Scroll.png", "Merchant_Accessory.png", "Merchant_Tool.png", "painting.png", "Profession_Weaponsmithing.png", "Profession_Armouring.png", "Profession_Alchemism.png", "Profession_Jeweling.png", "Profession_Tailoring.png", "Profession_Scribing.png", "Profession_Cooking.png", "Profession_Woodworking.png", "Special_RootsOfCorruption.png", "Special_LightRealm.png", "Content_UltimateDiscovery.png", "Merchant_KeyForge.png", "NPC_GuildMaster.png", "Content_GrindSpot.png", "NPC_TradeMarket.png", "Content_Raid.png", "Merchant_Dungeon.png", "tnt.png", "Merchant_Seasail.png", "Merchant_Horse.png"]
|
||||||
|
|
||||||
im1 = Image.open("./media/icons/maplocstemp/Content_BossAltar.png")
|
im1 = Image.open("./media/icons/maplocstemp/Content_GrindSpot.png")
|
||||||
for name in imgs:
|
for name in imgs:
|
||||||
img = im1.copy()
|
img = im1.copy()
|
||||||
img.save("./media/icons/maplocstemp/" + name, "PNG")
|
img.save("./media/icons/maplocstemp/" + name, "PNG")
|
||||||
|
|