Widget:Map Locations

==Map Locations Widget==

Use the following code to invoke:

Currently, all of the data on locations is included in this page, but it's defined in a way that it could be loaded from the data extract.

The page also includes all formatting data.





.leaflet-container { background-color:rgba(255,0,0,0.0); }

// define a standard map marker var MapIcon = L.Icon.extend({	 	options: {			//shadowUrl: 'icons/T_Map_Icon_capital_vanir.png',			iconSize:    [32, 32],			//shadowSize:   [32, 32],			iconAnchor:   [16, 16],			//shadowAnchor: [0, 0],			popupAnchor:  [0, 0]		}	}); // Define all of the different icons for the map var iconRuins = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/7/77/T_Map_Icon_ruins.png'}); var iconDungeon = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/b/b4/T_Map_dungeonIcon.png'}); var iconVista = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/a/ac/T_Map_Icon_vista.png'}); var iconCave = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/4/44/T_Map_caveIcon.png'}); var iconVanir = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/1/14/T_Map_Icon_camp_vanir.png'}); var iconVanirCapital = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/6/6b/T_Map_Icon_capital_vanir.png'}); var iconBlackHand = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/a/aa/T_Map_Icon_camp_black_hand.png'}); var iconBlackHandCapital = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/4/45/T_Map_Icon_capital_black_hand.png'}); var iconFrostGiant = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/d/d8/T_Map_Icon_camp_frost_giant.png'}); var iconFrostGiantCapital = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/0/00/T_Map_Icon_capital_frost_giant.png'}); var iconDarfari = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/1/1f/T_Map_Icon_camp_darfari.png'}); var iconDarfariCapital = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/8/81/T_Map_Icon_capital_darfari.png'}); var iconCimmerian = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/a/a9/T_Map_Icon_camp_cimmerian.png'}); var iconCimmerianCapital = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/4/4d/T_Map_Icon_capital_cimmerian.png'}); var iconUnnamedCapital = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/0/0d/T_Map_Icon_capital_unnamed_city.png'}); var iconLemurian = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/3/34/T_Map_Icon_camp_lemurian.png'}); var iconLemurianCapital = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/d/d4/T_Map_Icon_capital_lemurian.png'}); var iconDogs = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/5/5e/T_Map_Icon_camp_dogs_of_the_desert.png'}); var iconDogsCapital = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/0/06/T_Map_Icon_capital_dogs_of_the_desert.png'}); var iconRelic = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/f/fd/T_Map_Icon_camp_relic_hunters.png'}); var iconRelicCapital = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/2/28/T_Map_Icon_capital_relic_hunters.png'}); var iconCampDefault = new MapIcon({iconUrl: 'https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/2/25/T_Map_campIcon.png'});

// Define overlay layers for the different types of locations var overlayCamps = L.layerGroup; var overlayRuins = L.layerGroup; var overlayVista = L.layerGroup; var overlayCaves = L.layerGroup; var overlayDungeons = L.layerGroup;

// Load the data for the map. var mapData = [ ["Walkway of the Devout", -2, -251, "T_Map_Icon_ruins"], ["Sanctuary Ruins", 40, 28, "T_Map_Icon_ruins"], ["The Well of Skelos", -29, -250, "T_Map_dungeonIcon"], ["Telith's Island", 35, 25, "T_Map_Icon_vista"], ["Road of the Righeteous", -17, -174, "T_Map_Icon_ruins"], ["The Pocket", 65, 52, "T_Map_Icon_camp_black_hand"], ["The Hidden Way", -46, -172, "T_Map_Icon_vista"], ["Scartalon Ridgeline", 43, -10, "T_Map_Icon_vista"], ["The Shattered Stairs", -56, -235, "T_Map_Icon_ruins"], ["Lockstone Cave", 30, -37, "T_Map_caveIcon"], ["The Floe", -97, -227, "T_Map_caveIcon"], ["Freya's Hovel", 8, -20, "T_Map_Icon_camp_vanir"], ["Blizzard's Overwatch", -248, -193, "T_Map_Icon_camp_frost_giant"], ["Jhil's Roost", 30, -47, "T_Map_caveIcon"], ["Icekeeper Hollow", -148, -184, "T_Map_Icon_camp_frost_giant"], ["Bin-Yakin's Seal", 19, -80, "T_Map_caveIcon"], ["Ymir's Delusion", -108, -133, "T_Map_Icon_camp_frost_giant"], ["Imi's Cradle", 33, 21, "T_Map_Icon_vista"], ["The Crevice", -144, -99, "T_Map_caveIcon"], ["The Scraps", 35, -56, "T_Map_caveIcon"], ["Narrowneck Span", 70, 234, "T_Map_Icon_camp_darfari"], ["Gallaman's Tomb", 47, 202, "T_Map_caveIcon"], ["Cannibal's Rest", 72, 203, "T_Map_Icon_camp_darfari"], ["Scavenger's Berth", 93, 185, "T_Map_Icon_camp_black_hand"], ["Bonebreaker's Bend", 80, 173, "T_Map_Icon_camp_darfari"], ["Deathwhisper Ruins", 84, 144, "T_Map_Icon_ruins"], ["The Broken Highway", -51, 312, "T_Map_Icon_ruins"], ["The Broken Highway", -17, 316, "T_Map_Icon_ruins"], ["The Broken Highway", 29, 311, "T_Map_Icon_ruins"], ["The Broken Highway", 59, 300, "T_Map_Icon_ruins"], ["Warren of Degenerates", -75, 141, "T_Map_caveIcon"], ["The Breach", -14, 3, "T_Map_Icon_ruins"], ["Shaleback Hollow", -100, 168, "T_Map_caveIcon"], ["The Northern Aqueduct", -14, -26, "T_Map_Icon_ruins"], ["The Corner of Bones", -30, 193, "T_Map_Icon_camp_darfari"], ["Skulker's End", -129, 217, "T_Map_Icon_camp_darfari"], ["The Great Dam", -14, -59, "T_Map_Icon_ruins"], ["Heartsblood Rise", -11, 159, "T_Map_Icon_camp_darfari"], ["Algar's Overlook", -136, 201, "T_Map_Icon_ruins"], ["Trapper's Cabin", -26, -4, "T_Map_Icon_camp_vanir"], ["Spinebreaker's Flank", 35, 163, "T_Map_Icon_camp_darfari"], ["The Dregs", -139, 217, "T_Map_dungeonIcon"], ["Lian's Watch", -28, -53, "T_Map_Icon_camp_vanir"], ["Gallaman's Overlook", 35, 194, "T_Map_Icon_camp_darfari"], ["Riverwatch Camp", -126, 204, "T_Map_Icon_camp_darfari"], ["Coldfish Camp", -21, -71, "T_Map_Icon_camp_vanir"], ["Executioners Entrance", 104, 138, "T_Map_caveIcon"], ["Cavern of Fiends", -74, 219, "T_Map_caveIcon"], ["Meadowwatch", -40, -62, "T_Map_Icon_camp_vanir"], ["Shaman's Rise", -68, 214, "T_Map_campIcon"], ["New Asagarth", -76, -47, "T_Map_Icon_capital_vanir"], ["Shattered Bridge", -66, 240, "T_Map_Icon_ruins"], ["Mammothrider's Shanty", -51, -47, "T_Map_Icon_camp_vanir"], ["The Sentinels", 15, 237, "T_Map_Icon_ruins"], ["Desertwatch", -53, -19, "T_Map_Icon_camp_vanir"], ["Hanuman's Grotto", 47, 269, "T_Map_caveIcon"], ["The Broken Highway", 100, 309, "T_Map_Icon_ruins"], ["The Broken Highway", 126, 302, "T_Map_Icon_ruins"], ["Carver's Crest", 40, 204, "T_Map_Icon_camp_darfari"], ["Lookout point", 128, 158, "T_Map_Icon_camp_black_hand"], ["Tarman's Berth", 118, 145, "T_Map_Icon_camp_black_hand"], ["Watchers Waystation", 99, 153, "T_Map_Icon_camp_black_hand"], ["Mitra's Serenity", 64, 147, "T_Map_campIcon"], ["The Arena", 57, 134, "T_Map_Icon_ruins"], ["The Sinkhole", 28, 134, "T_Map_Icon_ruins"], ["Spotter's Squat", 122, 123, "T_Map_Icon_camp_black_hand"], ["Devil's Squat", -89, -12, "T_Map_Icon_vista"], ["Stormwatch", -98, -31, "T_Map_Icon_camp_vanir"], ["Nordhof", -74, -66, "T_Map_Icon_camp_vanir"], ["Lakewatch", -204, -26, "T_Map_Icon_ruins"], ["Rimefisher's Hut", -78, -80, "T_Map_Icon_camp_vanir"], ["Meltwater Crag", -53, -82, "T_Map_Icon_camp_vanir"], ["Rockfall Canyon", 27, -154, "T_Map_Icon_vista"], ["Icespire Chasm", -20, -119, "T_Map_Icon_vista"], ["The Black Keep", -61, -136, "T_Map_dungeonIcon"], ["Ruins of Xullan", -61, -127, "T_Map_Icon_ruins"], ["Sailstitch Camp", 112, 110, "T_Map_Icon_camp_black_hand"], ["The Sandspit", 110, 96, "T_Map_Icon_camp_black_hand"], ["Anchor Point", 101, 103, "T_Map_Icon_camp_black_hand"], ["Pariah's Overwatch", 93, 106, "T_Map_Icon_vista"], ["The Black Galleon", 86, 96, "T_Map_Icon_capital_black_hand"], ["Voyager's Vigil", 92, 81, "T_Map_Icon_camp_black_hand"], ["Marauder's Muster", 72, 86, "T_Map_Icon_camp_black_hand"], ["Scoundrel's Gateway", 68, 112, "T_Map_Icon_camp_black_hand"], ["Howling Plateau", -76, 210, "T_Map_Icon_camp_darfari"], ["Skittering Cavern", -76, 175, "T_Map_caveIcon"], ["Bridge of the Betrayer", -83, -96, "T_Map_Icon_ruins"], ["Godsclaw Passage", -107, -65, "T_Map_Icon_vista"], ["Skyholme Ruins", -121, -48, "T_Map_Icon_ruins"], ["The Wardtowers", -156, -51, "T_Map_Icon_camp_vanir"], ["Ghostward Tower", -165, -48, "T_Map_Icon_camp_vanir"], ["Sandward Tower", -149, -45, "T_Map_Icon_camp_vanir"], ["Godsward Tower", -157, -59, "T_Map_Icon_camp_vanir"], ["Circle of Swords", -186, -67, "T_Map_Icon_ruins"], ["Mounds of the Dead", -228, -106, "T_Map_Icon_capital_cimmerian"], ["The Dirgewood", -252, -126, "T_Map_Icon_vista"], ["Death's Shadow Camp", -86, 187, "T_Map_Icon_camp_darfari"], ["The Unnamed City", -140, 128, "T_Map_Icon_capital_unnamed_city"], ["The Tower of Bats", -60, 159, "T_Map_Icon_ruins"], ["Sinner's Refuge", 5, 196, "T_Map_caveIcon"], ["Dustdevil Ridge", -4, 174, "T_Map_Icon_camp_darfari"], ["The Summoning Place", 18, 164, "T_Map_Icon_capital_darfari"], ["The Cursed Way", -43, 164, "T_Map_Icon_camp_darfari"], ["Ravager's Cleft", -32, 165, "T_Map_Icon_camp_darfari"], ["Witness Camp", -51, 145, "T_Map_Icon_camp_darfari"], ["Raider's Ridge", 8, 136, "T_Map_Icon_camp_darfari"], ["The Barrow King", -273, -110, "T_Map_caveIcon"], ["The Outcast Camp", -201, -150, "T_Map_Icon_camp_frost_giant"], ["The Temple of Frost", -122, -240, "T_Map_Icon_capital_frost_giant"], ["Eyelet Lake", -180, -171, "T_Map_Icon_vista"], ["Dragonmouth", -83, -164, "T_Map_caveIcon"], ["Dagon's Claw", 325, 194, "T_Map_Icon_vista"], ["The Silkwood", 284, 208, "T_Map_Icon_vista"], ["Hullshatter Cove", 289, 177, "T_Map_Icon_vista"], ["Xel-ha Docks", 321, 170, "T_Map_Icon_ruins"], ["Pagoda of Boundless Lusts", 343, 176, "T_Map_Icon_camp_lemurian"], ["Thugra's Stand", 17, 122, "T_Map_Icon_camp_darfari"], ["Bilgewater Break", 83, 86, "T_Map_Icon_camp_black_hand"], ["Claw Outcrop", 46, 117, "T_Map_Icon_camp_dogs_of_the_desert"], ["Waterhole Outlook", 44, 101, "T_Map_Icon_camp_dogs_of_the_desert"], ["N'batu's Pack", 31, 103, "T_Map_Icon_camp_dogs_of_the_desert"], ["Marrowman's Height", -89, 222, "T_Map_Icon_camp_darfari"], ["Ruins of al-Merayah", 20, 83, "T_Map_Icon_camp_dogs_of_the_desert"], ["Sharptooth Passage", -3, 96, "T_Map_Icon_camp_dogs_of_the_desert"], ["Weeping Ruin", 6, 87, "T_Map_Icon_ruins"], ["Swagger Rock", 11, 66, "T_Map_Icon_vista"], ["Dagon's Embrace", 365, 146, "T_Map_Icon_ruins"], ["Palace of the Witch Queen", 347, 146, "T_Map_dungeonIcon"], ["The Celestial Plaza", 335, 146, "T_Map_Icon_ruins"], ["The Black Garden", 316, 144, "T_Map_Icon_ruins"], ["Forgotten City of Xel-ha", 326, 147, "T_Map_Icon_capital_lemurian"], ["Avenue of the Sun", 298, 148, "T_Map_Icon_ruins"], ["Gate of the Moon", 278, 150, "T_Map_Icon_ruins"], ["Xalthar's Crossing", 246, 146, "T_Map_Icon_vista"], ["Warrior's Walk", 258, 177, "T_Map_Icon_vista"], ["Forkspring Hollow", 237, 182, "T_Map_Icon_vista"], ["Mek-kamoses's Spire", -8, 86, "T_Map_Icon_ruins"], ["Hunter's View", -26, 123, "T_Map_Icon_camp_dogs_of_the_desert"], ["Hand of the Maker", -13, 124, "T_Map_Icon_ruins"], ["Weaver's Hollow", -59, 83, "T_Map_caveIcon"], ["Scuttler's Shortcut", -39, 60, "T_Map_caveIcon"], ["Bonepicker Camp", -14, 57, "T_Map_Icon_camp_dogs_of_the_desert"], ["Howler's Lode", -40, 79, "T_Map_Icon_camp_dogs_of_the_desert"], ["The Shattered Basin", -8, 32, "T_Map_Icon_ruins"], ["Boundary Spillway", 17, 44, "T_Map_Icon_vista"], ["The Slave Road", -62, 111, "T_Map_Icon_ruins"], ["Drifter's Rest", 225, 153, "T_Map_campIcon"], ["Penitent's Crossing", 234, 122, "T_Map_Icon_ruins"], ["Descent of Dagon", 253, 117, "T_Map_Icon_ruins"], ["The Crevice", 267, 112, "T_Map_Icon_vista"], ["Dagon's Eye", 315, 123, "T_Map_Icon_ruins"], ["Watcher of the Passage", 344, 107, "T_Map_Icon_ruins"], ["A Light to Guide Them Home", 355, 120, "T_Map_Icon_ruins"], ["Wreck of the Martyr", 387, 115, "T_Map_Icon_vista"], ["Island of Unsightly Sirens", 397, 160, "T_Map_Icon_vista"], ["Pitfall Pass", 179, 148, "T_Map_Icon_vista"], ["The Imperial Highway", -75, 101, "T_Map_Icon_ruins"], ["The Dawn Gate", -93, 115, "T_Map_Icon_ruins"], ["The Archives", -124, 105, "T_Map_Icon_ruins"], ["The Aviary", -125, 151, "T_Map_Icon_ruins"], ["The Slave Pits", -140, 116, "T_Map_Icon_ruins"], ["The Spawning Pools", -165, 132, "T_Map_Icon_ruins"], ["Citadel of the Triumvirate", -143, 144, "T_Map_Icon_ruins"], ["The Southern Aqueduct", -52, 64, "T_Map_Icon_ruins"], ["Muriela's Hope", -104, 66, "T_Map_campIcon"], ["The Den", -98, 23, "T_Map_Icon_capital_dogs_of_the_desert"], ["Deckswab's Retreat", 177, 102, "T_Map_Icon_camp_black_hand"], ["The Dryfalls", 152, 95, "T_Map_Icon_camp_darfari"], ["The Crossway", 183, 88, "T_Map_Icon_vista"], ["Boulevard of the North Star", 146, 50, "T_Map_Icon_ruins"], ["Xalthar's Refuge", 128, 66, "T_Map_caveIcon"], ["The Eye that Never Closes", 156, 67, "T_Map_Icon_ruins"], ["Messenger's Respite", 177, 70, "T_Map_Icon_vista"], ["Eastern Barracks", 209, 92, "T_Map_Icon_ruins"], ["Scupper's Shelter", 213, 61, "T_Map_Icon_camp_black_hand"], ["The Passage", 168, -2, "T_Map_dungeonIcon"], ["Priestking's Retreat", -28, 27, "T_Map_Icon_vista"], ["Ruins of Old Nebthu", -120, 11, "T_Map_Icon_ruins"], ["Tyros's Passage", -132, -3, "T_Map_Icon_ruins"], ["The Tradeway", -150, -10, "T_Map_Icon_ruins"], ["Deserter's Gutter", -153, 5, "T_Map_Icon_ruins"], ["Godsight Spire", -135, 75, "T_Map_Icon_vista"], ["Fingerfang Rock", -154, 56, "T_Map_Icon_vista"], ["Sandscour Pass", -149, 51, "T_Map_Icon_vista"], ["Shattered Springs", -193, 21, "T_Map_Icon_vista"], ["Westwatch Keep", -219, -11, "T_Map_Icon_ruins"], ["Upper Staging Area", 191, 11, "T_Map_Icon_ruins"], ["Ruined Outpost", 201, 26, "T_Map_Icon_ruins"], ["Canopy Outlook", 220, 44, "T_Map_Icon_vista"], ["Lower Staging Area", 238, 61, "T_Map_Icon_ruins"], ["Bay of Hulks", 254, 85, "T_Map_Icon_vista"], ["Mire of Eternal Dreams", 169, 40, "T_Map_Icon_vista"], ["Talier's Berth", 262, 17, "T_Map_Icon_camp_black_hand"], ["Wreck of the Wagtail", 309, 95, "T_Map_Icon_vista"], ["Jamilla's Liberty", 335, 58, "T_Map_Icon_camp_black_hand"], ["Captain's Quarters", 347, 46, "T_Map_Icon_camp_black_hand"], ["The Crowngrove", -257, -10, "T_Map_Icon_vista"], ["Klael’s Stronghold", -226, 52, "T_Map_Icon_ruins"], ["Sepermeru, City of the Relic Hunters", -247, 96, "T_Map_Icon_capital_relic_hunters"], ["Sandswept Ruins", 191, 216, "T_Map_Icon_ruins"], ["Temple Quarter", -230, 89, "T_Map_Icon_camp_relic_hunters"], ["Waterside", -233, 84, "T_Map_Icon_camp_relic_hunters"], ["Southlake", -251, 103, "T_Map_Icon_camp_relic_hunters"], ["Westwall", -261, 87, "T_Map_Icon_camp_relic_hunters"], ["Westwall Prison", -266, 90, "T_Map_Icon_camp_relic_hunters"], ["Oasis of Nekhet", -257, 40, "T_Map_Icon_vista"], ["Heliograph Heights", 369, 26, "T_Map_Icon_vista"], ["Buccaneer Bay", 335, 49, "T_Map_Icon_vista"], ["Flotsam", 318, 71, "T_Map_Icon_camp_black_hand"], ["Inlet of the Hook", 271, 60, "T_Map_Icon_vista"], ["The High Way", 43, -143, "T_Map_caveIcon"], ["Road of the Pilgrim", -24, -158, "T_Map_Icon_vista"], ["Undergate", -81, -131, "T_Map_dungeonIcon"], ["Ring of Silence", -109, -112, "T_Map_Icon_ruins"], ["Ruins of Velstad", -127, -83, "T_Map_Icon_ruins"], ["Riversend", -194, -32, "T_Map_Icon_vista"], ["King's Niche", -220, -48, "T_Map_Icon_ruins"], ["Wightwatch Lookout", -219, -79, "T_Map_campIcon"], ["The Cursed Mound", -238, -93, "T_Map_Icon_ruins"], ["Crystalline Chasm", -200, -209, "T_Map_Icon_camp_frost_giant"], ["Frostneedle Forest", -165, -187, "T_Map_Icon_vista"], ["Bleakwood Ruins", -162, -191, "T_Map_Icon_ruins"], ["The Disjunction", -113, -258, "T_Map_Icon_vista"], ["The Forge of Ymir", -128, -266, "T_Map_Icon_vista"], ["The Frozen Slopes", -124, -197, "T_Map_Icon_vista"], ["Flamemist Camp", -102, -194, "T_Map_Icon_camp_frost_giant"], ["Carrowmore", -221, -181, "T_Map_Icon_ruins"], ["Oasis Overlook", -254, 16, "T_Map_Icon_vista"], ["Bjornar's Stand", -152, -108, "T_Map_Icon_ruins"], ["Sullys's Ambush", 95, 146, "T_Map_Icon_camp_black_hand"], ["Skyfall Ridge", -177, -142, "T_Map_Icon_vista"], ["Deathwhisper Camp", 91, 141, "T_Map_Icon_camp_black_hand"], ["Stargazer's Crest", -197, -125, "T_Map_Icon_camp_cimmerian"], ["Fleshtearer Falls", -88, 168, "T_Map_Icon_camp_darfari"], ["Ravaged Barrows", -213, -101, "T_Map_Icon_ruins"], ["Chaosmouth", -60, 14, "T_Map_Icon_ruins"], ["Shrine of the Oracle", 21, -204, "T_Map_Icon_ruins"], ["Ironbreaker Ridge", -219, 69, "T_Map_Icon_vista"], ["Terrace of the Tenders", -3, -207, "T_Map_Icon_vista"], ["Relicwatcher Rise", -241, 55, "T_Map_Icon_vista"], ["Bridge of Voormithadreth", -23, -209, "T_Map_Icon_vista"], ["Rhinohorn Ridge", -221, 116, "T_Map_Icon_vista"], ["The Pens", -37, -207, "T_Map_Icon_vista"], ["The Jawbone", -207, 129, "T_Map_Icon_vista"], ["Path of the Penitent", 1, -229, "T_Map_Icon_vista"], ["The Slaveway", -158, 30, "T_Map_Icon_ruins"], ];

// Now add the markers to the map. // VERY IMPORTANT - the format for adding the coordinates is different to in Conan. // L.marker([-, ], {icon: }).addTo.bindPopup(' '); // The mapdata entries are in the format [ "Name", X, Y, "Icon"] for (var i in mapData) { console.log(mapData[i]); switch(mapData[i][3]) { case "T_Map_Icon_ruins": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconRuins}).addTo(overlayRuins).bindTooltip(" " + mapData[i][0] + " Ruins").openTooltip; break; case "T_Map_dungeonIcon": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconDungeon}).addTo(overlayDungeons).bindTooltip(" " + mapData[i][0] + " Dungeon").openTooltip; break; case "T_Map_Icon_vista": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconVista}).addTo(overlayVista).bindTooltip(" " + mapData[i][0] + " Vista").openTooltip; break; case "T_Map_caveIcon": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconCave}).addTo(overlayCaves).bindTooltip(" " + mapData[i][0] + " Cave").openTooltip; break; case "T_Map_Icon_camp_black_hand": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconBlackHand}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Black Hand camp").openTooltip; break; case "T_Map_Icon_capital_black_hand": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconBlackHandCapital}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Black Hand capital").openTooltip; break; case "T_Map_Icon_camp_vanir": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconVanir}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Heirs of the North camp").openTooltip; break; case "T_Map_Icon_capital_vanir": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconVanirCapital}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Heirs of the North capital").openTooltip; break; case "T_Map_Icon_camp_frost_giant": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconFrostGiant}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Frost Giant camp").openTooltip; break; case "T_Map_Icon_capital_frost_giant": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconFrostGiantCapital}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Frost Giant capital").openTooltip; break; case "T_Map_Icon_camp_darfari": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconDarfari}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Darfari Cannibals camp").openTooltip; break; case "T_Map_Icon_capital_darfari": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconDarfariCapital}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Darfari Cannibals capital").openTooltip; break; case "T_Map_Icon_camp_cimmerian": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconCimmerian}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Cimmerian camp").openTooltip; break; case "T_Map_Icon_capital_cimmerian": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconCimmerianCapital}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Cimmerian capital").openTooltip; break; case "T_Map_Icon_capital_unnamed_city": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconUnnamedCapital}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Not a nice place....").openTooltip; break; case "T_Map_Icon_camp_lemurian": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconLemurian}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Lemurian camp").openTooltip; break; case "T_Map_Icon_capital_lemurian": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconLemurianCapital}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Lemurian capital").openTooltip; break; case "T_Map_Icon_camp_dogs_of_the_desert": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconDogs}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Dogs of the Desert camp").openTooltip; break; case "T_Map_Icon_capital_dogs_of_the_desert": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconDogsCapital}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Dogs of the Desert capital").openTooltip; break; case "T_Map_Icon_camp_relic_hunters": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconRelic}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Relic Hunters camp").openTooltip; break; case "T_Map_Icon_capital_relic_hunters": L.marker([-mapData[i][2], mapData[i][1]], {icon: iconRelicCapital}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Relic Hunters capital").openTooltip; break; default: L.marker([-mapData[i][2], mapData[i][1]], {icon: iconCampDefault}).addTo(overlayCamps).bindTooltip(" " + mapData[i][0] + " Small camp").openTooltip; }	}

// Define the map and options for it. var map = L.map('map', {		crs: L.CRS.Simple,		minZoom: 0,		maxZoom: 5,		zoomDelta: 0.25,		zoomSnap: 0.25,		layers: [overlayCamps,overlayRuins,overlayDungeons,overlayVista,overlayCaves]	}); // The map goes from approx x -340, y -445 to x 470, y 370 so define this for the boundaries var bounds = -370,-342], [445,475; // Provide the full URL to the map image that has been uploaded. May fail if the image is updated by someone. var image = L.imageOverlay('https://d1u5p3l4wpay3k.cloudfront.net/conanexiles_gamepedia/1/13/T_FullscreenMap.jpg', bounds).addTo(map); map.fitBounds(bounds); // Define the layers for the map var baseMaps = {}; var overlayMaps = { "Camps": overlayCamps, "Dungeons": overlayDungeons, "Ruins": overlayRuins, "Vista": overlayVista, "Caves": overlayCaves, };	// Add a control for the layers L.control.layers(baseMaps, overlayMaps,{"sortLayers":true,"collapsed":false}).addTo(map);

// The centre of the map is NOT 0,0 - define the real centre for initial display // setView( center,  zoom,  options?) map.setView( [38, 65], 0.5);