local MOD = DugisGuideViewer

local MapOverlays = MOD:RegisterModule("MapOverlays")
MapOverlays.essential = true

function MapOverlays:Initialize()
	local defaults = {
		global = {
			overlayData = {
				["LochModan"] = {
					["MogroshStronghold"] = 56410498342,
					["Thelsamar"] = 156766608839,
					["IronbandsExcavationSite"] = 318332243341,
					["StonesplinterValley"] = 370626828561,
					["SilverStreamMine"] = 231993569,
					["TheFarstriderLodge"] = 225010028893,
					["NorthgatePass"] = 17073471,
					["StronewroughtDam"] = 355672397,
					["TheLoch"] = 87330089290,
					["GrizzlepawRidge"] = 348149487889,
					["ValleyofKings"] = 333934060854,
				},
				["AhnQirajTheFallenKingdom"] = {
					["AQKingdom"] = 121271159,
				},
				["Barrens"] = {
					["BoulderLodeMine"] = 8052229398,
					["MorshanRampart"] = 6713204997,
					["DreadmistPeak"] = 111973436657,
					["FarWatchPost"] = 139094995151,
					["Ratchet"] = 407521901787,
					["GroldomFarm"] = 136835196147,
					["TheForgottenPools"] = 223443419582,
					["TheDryHills"] = 61325195547,
					["TheWailingCaverns"] = 341609616761,
					["TheCrossroads"] = 295658783977,
					["TheStagnantOasis"] = 407309157712,
					["TheMerchantCoast"] = 490209497403,
					["TheSludgeFen"] = 6865282305,
					["ThornHill"] = 273235025135,
				},
				["TheStormPeaks"] = {
					["Frosthold"] = 460775977204,
					["Nidavelir"] = 221304266973,
					["Ulduar"] = 228861297,
					["SnowdriftPlains"] = 153715187917,
					["NarvirsCradle"] = 154843462836,
					["SparksocketMinefield"] = 502765134075,
					["TempleofStorms"] = 323447066793,
					["EngineoftheMakers"] = 318159113426,
					["TerraceoftheMakers"] = 131303036267,
					["DunNiffelem"] = 306521177397,
					["TempleofLife"] = 121930791094,
					["Valkyrion"] = 341552822500,
					["GarmsBane"] = 505073040568,
					["BorsBreath"] = 402767678786,
					["Thunderfall"] = 192857739570,
					["BrunnhildarVillage"] = 397640247601,
				},
				["Westfall"] = {
					["GoldCoastQuarry"] = 85034584299,
					["SentinelHill"] = 243089548517,
					["SaldeansFarm"] = 87446238452,
					["DemontsPlace"] = 403939986633,
					["JangoloadMine"] = 326341828,
					["TheJansenStead"] = 497208522,
					["AlexstonFarmstead"] = 282569439578,
					["TheDeadAcre"] = 215305438401,
					["TheGapingChasm"] = 180697130168,
					["FurlbrowsPumpkinFarm"] = 413357253,
					["TheMolsenFarm"] = 127066669258,
					["TheDustPlains"] = 406377993533,
					["Moonbrook"] = 349289272552,
					["WestfallLighthouse"] = 512406756563,
					["TheDaggerHills"] = 424446018852,
				},
				["WesternPlaguelands"] = {
					["DarrowmereLake"] = 380639701484,
					["Hearthglen"] = 246693296,
					["GahrronsWithering"] = 229226311921,
					["Andorhal"] = 368394442192,
					["CaerDarrow"] = 419389718722,
					["FelstoneField"] = 245053477105,
					["TheWrithingHaunt"] = 356977413289,
					["TheWeepingCave"] = 162713016505,
					["RedpineDell"] = 226859554082,
					["DalsonsFarm"] = 249422872901,
					["SorrowHill"] = 481310241136,
					["NorthridgeLumberCamp"] = 132312652135,
					["ThondrorilRiver"] = 559337783,
					["TheBulwark"] = 252379984188,
				},
				["Desolace"] = {
					["ThargadsCamp"] = 404015474900,
					["ShadowpreyVillage"] = 396359937246,
					["SlitherbladeShore"] = 25988258130,
					["ShadowbreakRavine"] = 432312428836,
					["GelkisVillage"] = 507023397138,
					["MannorocCoven"] = 383725657414,
					["NijelsPoint"] = 601097447,
					["ShokThokar"] = 343141610805,
					["ValleyofSpears"] = 210631937345,
					["TethrisAran"] = 418530578,
					["ThunderAxeFortress"] = 53074932956,
					["KodoGraveyard"] = 293509225722,
					["CenarionWildlands"] = 167939175736,
					["MagramTerritory"] = 183179137313,
					["Sargeron"] = 687117629,
					["RanzjarIsle"] = 220345505,
				},
				["Tanaris"] = {
					["LostRiggerCover"] = 216467229874,
					["LandsEndBeach"] = 485783462112,
					["DunemaulCompound"] = 276271645927,
					["TheGapingChasm"] = 391311977697,
					["BrokenPillar"] = 226992753859,
					["CavernsofTime"] = 256082359509,
					["TheNoxiousLair"] = 226830252211,
					["EastmoonRuins"] = 366544587949,
					["Gadgetzan"] = 99216445629,
					["AbyssalSands"] = 159225415935,
					["ValleryoftheWatchers"] = 463050307853,
					["SouthbreakShore"] = 310769805586,
					["ThistleshrubValley"] = 300841997533,
					["GadgetzanBay"] = 10166293758,
					["SandsorrowWatch"] = 106607826134,
					["ZulFarrak"] = 193132859,
					["SouthmoonRuins"] = 375051734248,
				},
				["BloodmystIsle"] = {
					["RuinsofLorethAran"] = 232511504640,
					["TheBloodcursedReef"] = 58746732800,
					["VeridianPoint"] = 668205312,
					["TheCryoCore"] = 306323915008,
					["RagefeatherRidge"] = 126132420864,
					["KesselsCrossing"] = 566404199909,
					["Axxarien"] = 146340577536,
					["AmberwebPass"] = 66618654976,
					["Mystwood"] = 518941500672,
					["BristlelimbEnclave"] = 440806932736,
					["TheVectorCoil"] = 255596083712,
					["Bladewood"] = 224797131008,
					["Middenvale"] = 436373553408,
					["Nazzivian"] = 434054103296,
					["WrathscaleLair"] = 363552047360,
					["TheFoulPool"] = 146260885760,
					["TalonStand"] = 84441039104,
					["BloodWatch"] = 277483880704,
					["BlacksiltShore"] = 457599863296,
					["TheCrimsonReach"] = 93997760768,
					["TheLostFold"] = 505186294016,
					["BloodscaleIsle"] = 275678232815,
					["WyrmscarIsland"] = 88689869056,
					["TheWarpPiston"] = 31611683072,
					["VindicatorsRest"] = 260089053440,
					["TelathionsCamp"] = 232117108864,
					["TheBloodwash"] = 29307961600,
					["TheHiddenReef"] = 42091151616,
				},
				["StonetalonMountains"] = {
					["BoulderslideRavine"] = 550313816258,
					["ThaldarahOverlook"] = 130187195602,
					["WebwinderHollow"] = 431073003684,
					["StonetalonPeak"] = 278122801,
					["CliffwalkerPost"] = 102389448945,
					["RuinsofEldrethar"] = 441692957917,
					["WebwinderPath"] = 282885193995,
					["UnearthedGrounds"] = 396896712969,
					["SunRockRetreat"] = 306386794718,
					["WindshearCrag"] = 192758971766,
					["KromgarFortress"] = 366762725559,
					["MirkfallonLake"] = 153982590196,
					["TheCharredVale"] = 395345938709,
					["GreatwoodVale"] = 481667805506,
					["Malakajin"] = 577247513811,
					["BattlescarValley"] = 203168195874,
					["WindshearHold"] = 310852646064,
				},
				["Deepholm"] = {
					["NeedlerockSlag"] = 156766598514,
					["DeathwingsFall"] = 319477341638,
					["StoneHearth"] = 337155295603,
					["TwilightTerrace"] = 412628490477,
					["NeedlerockChasm"] = 21339514,
					["ThePaleRoost"] = 89408979,
					["StormsFuryWreckage"] = 411723658532,
					["TwilightOverlook"] = 451569508763,
					["CrimsonExpanse"] = 13451542990,
					["ScouredReach"] = 470056452,
					["TherazanesThrone"] = 455242002,
					["TheShatteredField"] = 470447004078,
					["TempleOfEarth"] = 190353597795,
				},
				["DunMorogh"] = {
					["NorthGateOutpost"] = 46973434093,
					["IronforgeAirfield"] = 660946228,
					["AmberstillRanch"] = 242216000761,
					["HelmsBedLake"] = 288559966426,
					["ColdridgeValley"] = 393094674830,
					["TheShimmeringDeep"] = 142150445227,
					["ColdridgePass"] = 365449990369,
					["TheTundridHills"] = 329172378798,
					["Gnomeregan"] = 28991355289,
					["IceFlowLake"] = 276142316,
					["GolBolarQuarry"] = 309933108422,
					["FrostmaneHold"] = 243792078261,
					["Ironforge"] = 417688952,
					["Kharanos"] = 236694204600,
					["FrostmaneFront"] = 275370032354,
					["TheGrizzledDen"] = 308556234963,
				},
				["SearingGorge"] = {
					["ThoriumPoint"] = 41069884845,
					["BlackrockMountain"] = 455521587504,
					["BlackcharCave"] = 387621113207,
					["GrimsiltWorksite"] = 259328846265,
					["TheCauldron"] = 183853490657,
					["TannerCamp"] = 386980434491,
					["FirewatchRidge"] = 80531039597,
					["DustfireValley"] = 616926600,
				},
				["EasternPlaguelands"] = {
					["LightsHopeChapel"] = 291704631492,
					["TheInfectisScar"] = 283018274993,
					["EastwallTower"] = 198135955637,
					["TheNoxiousGlade"] = 59737681193,
					["TheUndercroft"] = 490758950168,
					["Northdale"] = 66096177417,
					["LightsShieldTower"] = 291394193651,
					["ZulMashar"] = 553828638,
					["Acherus"] = 110333543652,
					["QuelLithienLodge"] = 368229653,
					["BlackwoodLake"] = 162535808238,
					["NorthpassTower"] = 74508861690,
					["Tyrshand"] = 445211998422,
					["Darrowshire"] = 496290183416,
					["CrownGuardTower"] = 377154108618,
					["Stratholme"] = 123914550,
					["ThondorilRiver"] = 107374721286,
					["RuinsOfTheScarletEnclave"] = 317528069384,
					["Plaguewood"] = 43100927304,
					["TheMarrisStead"] = 359843178698,
					["TheFungalVale"] = 226751635730,
					["Terrordale"] = 10737746178,
					["LakeMereldar"] = 458972448010,
					["CorinsCrossing"] = 310828553402,
					["ThePestilentScar"] = 374064087222,
				},
				["Teldrassil"] = {
					["Shadowglen"] = 112173737201,
					["Darnassus"] = 194503853354,
					["GalardellValley"] = 254965639346,
					["LakeAlameth"] = 333302671649,
					["StarbreezeVillage"] = 233572602043,
					["TheOracleGlade"] = 96926421186,
					["TheCleft"] = 117491075216,
					["GnarlpineHold"] = 381542388934,
					["WellspringLake"] = 89521382565,
					["BanethilHollow"] = 237689351343,
					["RutheranVillage"] = 481381544253,
					["PoolsofArlithrien"] = 261281237132,
				},
				["BlastedLands"] = {
					["RiseoftheDefiler"] = 109915056296,
					["TheRedReaches"] = 288322062604,
					["DreadmaulPost"] = 195764089067,
					["TheTaintedScar"] = 188056045876,
					["NethergardeSupplyCamps"] = 457383107,
					["DreadmaulHold"] = 270743824,
					["Shattershore"] = 98316859632,
					["Surwich"] = 509302996167,
					["SunveilExcursion"] = 401984465129,
					["TheDarkPortal"] = 192585967986,
					["SerpentsCoil"] = 104634440922,
					["AltarofStorms"] = 118347730158,
					["NethergardeKeep"] = 6998406439,
					["TheTaintedForest"] = 334072485212,
				},
				["Mulgore"] = {
					["WildmaneWaterWell"] = 347254974,
					["WindfuryRidge"] = 419637470,
					["TheRollingPlains"] = 313011719428,
					["BaeldunDigsite"] = 236460376282,
					["PalemaneRock"] = 344931382444,
					["ThunderBluff"] = 66790362485,
					["StonetalonPass"] = 210952429,
					["RavagedCaravan"] = 240974468283,
					["BloodhoofVillage"] = 293466242350,
					["ThunderhornWaterWell"] = 217245195465,
					["WinterhoofWaterWell"] = 365543220398,
					["TheGoldenPlains"] = 108917907642,
					["TheVentureCoMine"] = 148732424400,
					["RedRocks"] = 46710056122,
					["RedCloudMesa"] = 430870634942,
				},
				["Felwood"] = {
					["BloodvenomFalls"] = 248265245017,
					["JadefireGlen"] = 492075960549,
					["RuinsofConstellas"] = 385765038348,
					["Jaedenar"] = 340621705535,
					["DeadwoodVillage"] = 542669704365,
					["FelpawVillage"] = 494044467,
					["MorlosAran"] = 520190345403,
					["EmeraldSanctuary"] = 410582733074,
					["TalonbranchGlade"] = 61760309457,
					["JadefireRun"] = 9981598983,
					["IrontreeWoods"] = 59481801989,
					["ShatterScarVale"] = 115145435479,
				},
				["Silverpine"] = {
					["TheDecrepitFields"] = 167997759664,
					["DeepElemMine"] = 228139931865,
					["TheGreymaneWall"] = 543646976409,
					["Ambermill"] = 268969430299,
					["TheSepulcher"] = 168935235802,
					["TheBattlefront"] = 461001380095,
					["NorthTidesBeachhead"] = 73353338030,
					["ValgansField"] = 83161690274,
					["OlsensFarthing"] = 267689041147,
					["ShadowfangKeep"] = 362204533939,
					["FenrisIsle"] = 16715659616,
					["ForsakenHighCommand"] = 466795881,
					["BerensPeril"] = 435395239230,
					["TheSkitteringDark"] = 247640291,
					["ForsakenRearGuard"] = 387168442,
					["NorthTidesRun"] = 154494233,
					["TheForsakenFront"] = 351567803544,
				},
				["EversongWoods"] = {
					["Zebwatha"] = 510608475264,
					["ThuronsLivery"] = 328056570112,
					["WestSanctum"] = 342830088320,
					["TheGoldenStrand"] = 445795005568,
					["GoldenboughPass"] = 503839850752,
					["LakeElrendar"] = 506344969344,
					["AzurebreezeCoast"] = 245514895616,
					["StillwhisperPond"] = 337652220160,
					["DuskwitherGrounds"] = 272291332352,
					["EastSanctum"] = 400988307712,
					["SilvermoonCity"] = 93877436928,
					["FarstriderRetreat"] = 386022899968,
					["TorWatha"] = 338908513536,
					["SunstriderIsle"] = 5573706240,
					["TheLivingWood"] = 451507642496,
					["NorthSanctum"] = 320353861888,
					["FairbreezeVilliage"] = 414869356800,
					["TranquilShore"] = 320200769792,
					["SunsailAnchorage"] = 434034049280,
					["TheScortchedGrove"] = 544654622976,
					["RuinsofSilvermoon"] = 146351063296,
					["RunestoneFalithas"] = 532972482816,
					["SatherilsHaven"] = 412656861440,
					["RunestoneShandor"] = 530915178752,
					["ElrendarFalls"] = 429031424128,
				},
				["Wetlands"] = {
					["AngerfangEncampment"] = 216198807788,
					["IronbeardsTomb"] = 81994678457,
					["SundownMarsh"] = 67772861716,
					["WhelgarsExcavationSite"] = 209574100266,
					["MosshideFen"] = 249638923633,
					["RaptorRidge"] = 132698592512,
					["ThelganRock"] = 360092744962,
					["BlackChannelMarsh"] = 257737072941,
					["DunModr"] = 7889675521,
					["MenethilHarbor"] = 318901693765,
					["BluegillMarsh"] = 109554426177,
					["DireforgeHills"] = 37038035273,
					["Satlspray"] = 228878586,
					["GreenwardensGrove"] = 110004286714,
					["DunAlgaz"] = 450260852010,
					["SlabchiselsSurvey"] = 378515288364,
				},
				["SholazarBasin"] = {
					["TheStormwrightsShelf"] = 62422024460,
					["TheMakersOverlook"] = 254142609641,
					["TheGlimmeringPillar"] = 36830518566,
					["TheSuntouchedPillar"] = 199802286535,
					["TheSavageThicket"] = 55176303909,
					["RiversHeart"] = 364375254484,
					["TheAvalanche"] = 99409470786,
					["TheMakersPerch"] = 145135755513,
					["RainspeakerCanopy"] = 262440987855,
					["TheMosslightPillar"] = 381456540911,
					["KartaksHold"] = 402733176137,
					["TheLifebloodPillar"] = 144407119160,
				},
				["DeadwindPass"] = {
					["TheVice"] = 223792792926,
					["DeadmansCrossing"] = 87566953,
					["Karazhan"] = 332956801537,
				},
				["Redridge"] = {
					["StonewatchFalls"] = 324820719932,
					["LakeEverstill"] = 229865941456,
					["StonewatchKeep"] = 503746788,
					["ThreeCorners"] = 274878323011,
					["GalardellValley"] = 602357164,
					["RedridgeCanyons"] = 39096733,
					["Lakeshire"] = 118111863194,
					["RendersValley"] = 405273873835,
					["CampEverstill"] = 307556975805,
					["AlthersMill"] = 149617368292,
					["ShalewindCanyon"] = 304590688562,
					["LakeridgeHighway"] = 339457966472,
					["RendersCamp"] = 224647525,
				},
				["AzuremystIsle"] = {
					["AzureWatch"] = 267763581184,
					["MoongrazeWoods"] = 196965826816,
					["StillpineHold"] = 52996342016,
					["BristlelimbVillage"] = 389950996736,
					["OdesyusLanding"] = 406243770624,
					["WrathscalePoint"] = 452276247808,
					["PodWreckage"] = 375220600960,
					["PodCluster"] = 327786168576,
					["AmmenFord"] = 300114247936,
					["SiltingShore"] = 3526623488,
					["Emberglade"] = 26281771264,
					["TheExodar"] = 91346174464,
					["AmmenVale"] = 112222274011,
					["FairbridgeStrand"] = 373424384,
					["GreezlesCamp"] = 376341528832,
					["ValaarsBerth"] = 325528584448,
					["SilvermystIsle"] = 478913198336,
				},
				["BurningSteppes"] = {
					["MorgansVigil"] = 274449462655,
					["DreadmaulRock"] = 162730876178,
					["Dracodar"] = 254477253994,
					["BlackrockStronghold"] = 246809920,
					["AltarofStorms"] = 368822,
					["BlackrockPass"] = 277465164074,
					["RuinsofThaurissan"] = 441813316,
					["BlackrockMountain"] = 83235097,
					["PillarofAsh"] = 274069878034,
					["TerrorWingPath"] = 8193922398,
				},
				["Moonglade"] = {
					["Nighthaven"] = 145343369562,
					["StormrageBarrowDens"] = 226054465811,
					["ShrineofRemulos"] = 97929961743,
					["LakeEluneara"] = 293361483183,
				},
				["Winterspring"] = {
					["WinterfallVillage"] = 194964047069,
					["FrostsaberRock"] = 319041868,
					["FrostwhisperGorge"] = 509398408509,
					["TimbermawPost"] = 324366758250,
					["IceThistleHills"] = 337764377849,
					["TheHiddenGrove"] = 18778160461,
					["StarfallVillage"] = 35673952623,
					["FrostfireHotSprings"] = 126799349112,
					["Everlook"] = 209885304002,
					["LakeKeltheril"] = 288153143567,
					["Mazthoril"] = 365490845953,
					["OwlWingThicket"] = 471955822846,
				},
				["Hinterlands"] = {
					["TheCreepingRuin"] = 270992088263,
					["ValorwindLake"] = 289136660679,
					["Shaolwatha"] = 223931012377,
					["QuelDanilLodge"] = 194578173169,
					["Agolwatha"] = 171109986512,
					["Zunwatha"] = 305102292194,
					["TheOverlookCliffs"] = 287399363828,
					["ShadraAlor"] = 407179038960,
					["Seradane"] = 5867101487,
					["SkulkRock"] = 209893698736,
					["TheAltarofZul"] = 368667988193,
					["JinthaAlor"] = 359140721951,
					["PlaguemistRavine"] = 112882636991,
					["AeriePeak"] = 253403344110,
				},
				["BoreanTundra"] = {
					["AmberLedge"] = 150664861940,
					["BorGorokOutpost"] = 329461132,
					["TempleCityOfEnKilah"] = 16853012770,
					["GarroshsLanding"] = 255711373579,
					["DeathsStand"] = 195088899361,
					["TheDensOfDying"] = 12505531595,
					["Kaskala"] = 230314799489,
					["TheGeyserFields"] = 503667063,
					["ValianceKeep"] = 283947350275,
					["WarsongStronghold"] = 254822078724,
					["SteeljawsCaravan"] = 71283571956,
					["RiplashStrand"] = 411550615934,
					["Coldarra"] = 52819404,
				},
				["Badlands"] = {
					["DeathwingScar"] = 191309866312,
					["CampCagg"] = 301721808211,
					["AgmondsEnd"] = 338470208854,
					["Uldaman"] = 352536842,
					["CampKosh"] = 20929843436,
					["HammertoesDigsite"] = 124985217233,
					["ApocryphansRest"] = 70867322108,
					["AngorFortress"] = 73255845149,
					["CampBoff"] = 236650430738,
					["LethlorRavine"] = 59615319509,
					["TheDustbowl"] = 106451727574,
				},
				["Darkshore"] = {
					["Lordanel"] = 58392339733,
					["Nazjvel"] = 501654693108,
					["AmethAran"] = 354643232070,
					["RuinsofMathystra"] = 30607154376,
					["ShatterspearVale"] = 17805067514,
					["EyeoftheVortex"] = 256939065674,
					["TheMastersGlaive"] = 518907946287,
					["WitheringThicket"] = 127021607240,
					["ShatterspearWarcamp"] = 592596213,
					["WildbendRiver"] = 406168208698,
					["RuinsofAuberdine"] = 195714812107,
				},
				["ZulDrak"] = {
					["GunDrak"] = 659858768,
					["ZimTorga"] = 259274311929,
					["AmphitheaterOfAnguish"] = 308467202314,
					["AltarOfRhunok"] = 136817459447,
					["DrakSotraFields"] = 384741680414,
					["AltarOfMamToth"] = 95092536631,
					["AltarOfQuetzLun"] = 270145978629,
					["AltarOfHarKoa"] = 371000083721,
					["ThrymsEnd"] = 265214505232,
					["AltarOfSseratus"] = 180690870509,
					["Zeramas"] = 442389233971,
					["Voltarus"] = 205267438810,
					["LightsBreach"] = 389958387009,
					["Kolramas"] = 469623872814,
				},
				["Arathi"] = {
					["NorthfoldManor"] = 112881578211,
					["CircleofInnerBinding"] = 335218445540,
					["BoulderfistHall"] = 394406398204,
					["FaldirsCove"] = 429577744657,
					["GoShekFarm"] = 267812856114,
					["DabyriesFarmstead"] = 155042680018,
					["StromgardeKeep"] = 288858884380,
					["RefugePoint"] = 156000073924,
					["CirecleofOuterBinding"] = 293479837911,
					["CircleofWestBinding"] = 25859226844,
					["ThandolSpan"] = 446950535405,
					["WitherbarkVillage"] = 385972662532,
					["CircleofEastBinding"] = 135822293175,
					["Hammerfall"] = 127311035662,
					["GalensFall"] = 154619135188,
					["Bouldergor"] = 132249835769,
				},
				["Durotar"] = {
					["ValleyOfTrials"] = 335326480638,
					["NorthwatchFoothold"] = 472864945314,
					["RazorHill"] = 169029635296,
					["TiragardeKeep"] = 320459710674,
					["SkullRock"] = 459437264,
					["RazormaneGrounds"] = 283784673528,
					["EchoIsles"] = 443905473866,
					["SenjinVillage"] = 436418568384,
					["SouthfuryWatershed"] = 187127003380,
					["ThunderRidge"] = 51849160924,
					["DrygulchRavine"] = 64859869420,
					["Orgrimmar"] = 324179203,
				},
				["Silithus"] = {
					["HiveAshi"] = 4656999829,
					["ValorsRest"] = 644117819,
					["HiveZora"] = 221191192094,
					["HiveRegal"] = 333258791401,
					["SouthwindVillage"] = 194924236085,
					["TwilightBaseCamp"] = 162240110002,
					["CenarionHold"] = 153993089316,
					["TheCrystalVale"] = 132372809,
					["TheScarabWall"] = 488552748612,
				},
				["SwampOfSorrows"] = {
					["MistyreedStrand"] = 629830034,
					["PoolOfTears"] = 256153720065,
					["IthariusCave"] = 259853185292,
					["SplinterspearJunction"] = 253606845678,
					["TheShiftingMire"] = 26117251364,
					["Sorrowmurk"] = 86636923109,
					["TheHarborage"] = 84994715914,
					["Bogpaddle"] = 629343494,
					["Stagalbog"] = 387113598299,
					["Stonard"] = 277337133413,
					["MarshtideWatch"] = 501569866,
					["MistyValley"] = 85899638028,
				},
				["StranglethornJungle"] = {
					["RuinsOfZulKunda"] = 165946596,
					["BaliaMahRuins"] = 261335758063,
					["MoshOggOgreMound"] = 272226269418,
					["GromGolBaseCamp"] = 245125794983,
					["KurzensCompound"] = 523483380,
					["KalAiRuins"] = 197939845259,
					["BalAlRuins"] = 180668736671,
					["MizjahRuins"] = 264546464925,
					["RebelCamp"] = 321034542,
					["NesingwarysExpedition"] = 67966793955,
					["Mazthoril"] = 391353994590,
					["Bambala"] = 176687333566,
					["ZuuldalaRuins"] = 23632026948,
					["TheVileReef"] = 223485329644,
					["ZulGurub"] = 656982392,
					["LakeNazferiti"] = 102438768880,
					["FortLivingston"] = 403070691558,
				},
				["Duskwood"] = {
					["AddlesStead"] = 373696012587,
					["RavenHillCemetary"] = 141829657923,
					["BrightwoodGrove"] = 120780635415,
					["TheHushedBank"] = 163209071805,
					["Darkshire"] = 138110363977,
					["RacenHill"] = 313633436877,
					["TheTranquilGardensCemetary"] = 370024894755,
					["VulGolOgreMound"] = 381417711884,
					["ManorMistmantle"] = 131689797851,
					["TheDarkenedBank"] = 27991977891,
					["TheTwilightGrove"] = 108777574720,
					["TheYorgenFarmstead"] = 425622495465,
					["TheRottingOrchard"] = 395702443299,
				},
				["ThousandNeedles"] = {
					["DarkcloudPinnacle"] = 124731519293,
					["RustmaulDiveSite"] = 499842755818,
					["WestreachSummit"] = 333080,
					["TheShimmeringDeep"] = 276571778459,
					["SplithoofHeights"] = 53212506543,
					["TwilightBulwark"] = 258903279974,
					["Highperch"] = 143881793782,
					["RazorfenDowns"] = 312797545,
					["SouthseaHoldfast"] = 443174617334,
					["FreewindPost"] = 200005664180,
					["TheGreatLift"] = 142844176,
					["TheTwilightWithering"] = 353625263478,
				},
				["Ashenvale"] = {
					["MaelstrasPost"] = 197502198,
					["Satyrnaar"] = 166086291691,
					["TheRuinsofStardust"] = 355629022444,
					["SilverwindRefuge"] = 360058245467,
					["BoughShadow"] = 159790615718,
					["OrendilsRetreat"] = 150203636,
					["WarsongLumberCamp"] = 285350264039,
					["LakeFalathim"] = 159031468216,
					["TheHowlingVale"] = 104649178437,
					["TheZoramStrand"] = 399622,
					["FallenSkyLake"] = 413945581855,
					["NightRun"] = 272280847581,
					["RaynewoodRetreat"] = 237801570535,
					["ThunderPeak"] = 130318391499,
					["Astranaar"] = 176361323771,
					["FelfireHill"] = 341125182741,
					["TheShrineofAssenia"] = 295321234738,
					["ThistlefurVillage"] = 84019496250,
				},
				["Ghostlands"] = {
					["GoldenmistVillage"] = 46662144,
					["WindrunnerSpire"] = 308206108928,
					["SanctumoftheSun"] = 161531560192,
					["ThalassiaPass"] = 436321130752,
					["AmaniPass"] = 249735598484,
					["ZebNowa"] = 254965890560,
					["HowlingZiggurat"] = 235506435328,
					["SanctumoftheMoon"] = 135511933184,
					["FarstriderEnclave"] = 146629984685,
					["BleedingZiggurat"] = 255743754496,
					["Tranquillien"] = 2530738432,
					["ElrendarCrossing"] = 342098432,
					["DawnstarSpire"] = 603193771,
					["WindrunnerVillage"] = 125691232512,
					["Deatholme"] = 402753099264,
					["SuncrownVillage"] = 482607616,
				},
				["TheCapeOfStranglethorn"] = {
					["WildShore"] = 421263593708,
					["RuinsofAboraz"] = 194906341560,
					["JagueroIsle"] = 434285846768,
					["MistvaleValley"] = 266716039421,
					["BootyBay"] = 366449261793,
					["HardwrenchHideaway"] = 124772382052,
					["NekmaniWellspring"] = 229013419254,
					["RuinsofJubuwal"] = 128266237083,
					["CrystalveinMine"] = 78937010447,
					["GurubashiArena"] = 362025198,
					["TheSundering"] = 474170612,
				},
				["GrizzlyHills"] = {
					["GrizzleMaw"] = 201165344038,
					["GraniteSprings"] = 222272127332,
					["DrakilJinRuins"] = 44660191583,
					["Voldrune"] = 452230110491,
					["VentureBay"] = 495014067474,
					["RageFangShrine"] = 316007623131,
					["ThorModan"] = 533977417,
					["DrakTheronKeep"] = 49392416126,
					["CampOneqwah"] = 147677521220,
					["ConquestHold"] = 329656867148,
					["DunArgol"] = 276525629895,
					["BlueSkyLoggingGrounds"] = 138756205817,
					["AmberpineLodge"] = 262220843286,
					["UrsocsDen"] = 34707083592,
				},
				["VashjirDepths"] = {
					["FireplumeTrench"] = 118442159402,
					["ColdlightChasm"] = 300927015179,
					["AbandonedReef"] = 282446932339,
					["AbyssalBreach"] = 521624043,
					["LGhorek"] = 225655952690,
					["Seabrush"] = 196930169057,
					["DeepfinRidge"] = 34648365419,
					["KorthunsEnd"] = 304301344114,
				},
				["VashjirKelpForest"] = {
					["DarkwhisperGorge"] = 245366977756,
					["GnawsBoneyard"] = 349439223095,
					["GubogglesLedge"] = 301066304739,
					["TheAccursedReef"] = 174329136468,
					["LegionsFate"] = 37801487638,
					["HonorsTomb"] = 46569568547,
					["HoldingPens"] = 431048895804,
				},
				["VashjirRuins"] = {
					["Nespirah"] = 280729236766,
					["RuinsOfTherseral"] = 188485958853,
					["BethMoraRidge"] = 478242110799,
					["GlimmeringdeepGorge"] = 238653985040,
					["ShimmeringGrotto"] = 419715411,
					["SilverTideHollow"] = 34517351904,
					["RuinsOfVashjir"] = 287990719837,
				},
				["Sunwell"] = {
					["SunsReachHarbor"] = 270847607296,
					["SunsReachSanctum"] = 4558684672,
				},
				["Aszhara"] = {
					["RavencrestMonument"] = 431069867303,
					["TheShatteredStrand"] = 180720313550,
					["DarnassianBaseCamp"] = 3581155571,
					["BlackmawHold"] = 57122499844,
					["BitterReaches"] = 500424001,
					["TheSecretLab"] = 425572127928,
					["StormCliffs"] = 433144963279,
					["LakeMennar"] = 405057806546,
					["RuinsofEldarath"] = 246126195930,
					["OrgimmarRearGate"] = 369390537056,
					["BilgewaterHarbor"] = 136779789899,
					["TowerofEldara"] = 24339891506,
					["GallywixPleasurePalace"] = 238444321018,
					["BearsHead"] = 151516315904,
					["RuinsofArkkoran"] = 130525889755,
				},
				["IcecrownGlacier"] = {
					["IcecrownCitadel"] = 500774938932,
					["Jotunheim"] = 131020056969,
					["Corprethar"] = 421265625396,
					["TheBrokenFront"] = 353846402331,
					["TheFleshwerks"] = 312687750363,
					["SindragosasFall"] = 33942756652,
					["OnslaughtHarbor"] = 179315159244,
					["Scourgeholme"] = 287412829429,
					["TheConflagration"] = 327834355939,
					["ValleyofEchoes"] = 419509265677,
					["TheShadowVault"] = 16443129055,
					["Ymirheim"] = 296818523359,
					["ArgentTournamentGround"] = 32858407226,
					["TheBombardment"] = 194911653112,
					["Aldurthar"] = 40101076341,
					["Valhalas"] = 53914878190,
				},
				["Dragonblight"] = {
					["WyrmrestTemple"] = 235624826173,
					["WestwindRefugeeCamp"] = 200834067685,
					["RubyDragonshrine"] = 223730683068,
					["NewHearthglen"] = 385043666134,
					["ScarletPoint"] = 8113195243,
					["ColdwindHeights"] = 422800597,
					["ObsidianDragonshrine"] = 111937793328,
					["AgmarsHammer"] = 218240346348,
					["Naxxramas"] = 172523536695,
					["EmeraldDragonshrine"] = 389264140484,
					["LightsRest"] = 8253626667,
					["TheForgottenShore"] = 357214484781,
					["GalakrondsRest"] = 127155799298,
					["VenomSpite"] = 284161167586,
					["IcemistVillage"] = 177308255467,
					["Angrathar"] = 220449074,
					["LakeIndule"] = 336309039460,
					["TheCrystalVice"] = 510921957,
				},
				["UngoroCrater"] = {
					["IronstonePlateau"] = 216562628805,
					["FirePlumeRidge"] = 206532018497,
					["TheSlitheringScar"] = 412668414333,
					["LakkariTarPits"] = 320117168,
					["TheScreamingReaches"] = 164966732,
					["TerrorRun"] = 383496000828,
					["TheMarshlands"] = 275479163143,
					["GolakkaHotSprings"] = 242817979701,
					["FungalRock"] = 584252640,
					["MarshalsStand"] = 354819418316,
					["TheRollingGarden"] = 42468705617,
					["MossyPile"] = 192543909050,
				},
				["Elwynn"] = {
					["EastvaleLoggingCamp"] = 314270010662,
					["StonecairnLake"] = 200295072084,
					["Goldshire"] = 315939331348,
					["WestbrookGarrison"] = 381300303117,
					["NorthshireValley"] = 148548919591,
					["FargodeepMine"] = 451223478541,
					["TowerofAzora"] = 308718847246,
					["Stromwind"] = 432640,
					["RidgepointTower"] = 475336476957,
					["BrackwellPumpkinPatch"] = 455824597279,
					["JerodsLanding"] = 462124431590,
					["CrystalLake"] = 351551044828,
				},
				["Hyjal"] = {
					["ShrineOfGoldrinn"] = 18375574819,
					["Nordrassil"] = 411373081,
					["DireforgeHill"] = 211845035278,
					["DarkwhisperGorge"] = 138154564928,
					["ArchimondesVengeance"] = 5704560910,
					["TheThroneOfFlame"] = 406208154019,
					["GatesOfSothann"] = 344249940240,
					["TheRegrowth"] = 271711534521,
					["TheScorchedPlain"] = 232359469421,
					["SethriasRoost"] = 468297425173,
					["AshenLake"] = 83758582042,
				},
				["SouthernBarrens"] = {
					["ForwardCommand"] = 269952921816,
					["HonorsStand"] = 210938171,
					["RuinsofTaurajo"] = 307346189597,
					["BaelModan"] = 491117563149,
					["HuntersHill"] = 69034232026,
					["TheOvergrowth"] = 125931063651,
					["Battlescar"] = 329926304128,
					["FrazzlecrazMotherload"] = 468433702130,
					["NorthwatchHold"] = 158414953752,
					["VendettaPoint"] = 210733586686,
					["RazorfenKraul"] = 567222087894,
				},
				["HowlingFjord"] = {
					["ScalawagPoint"] = 440410573150,
					["ExplorersLeagueOutpost"] = 361390891240,
					["Halgrind"] = 223754853563,
					["Nifflevar"] = 258322153650,
					["Baleheim"] = 183140267182,
					["ApothecaryCamp"] = 39832528135,
					["Skorn"] = 116324016366,
					["IvaldsRuin"] = 240145081537,
					["VengeanceLanding"] = 27540146399,
					["GiantsRun"] = 600099114,
					["CampWinterHoof"] = 371410143,
					["EmberClutch"] = 218266599637,
					["SteelGate"] = 107607138526,
					["Kamagua"] = 298604307789,
					["CauldrosIsle"] = 173386418357,
					["TheTwistedGlade"] = 61643901194,
					["NewAgamand"] = 386982531356,
					["Gjalerbron"] = 236123378,
					["WestguardKeep"] = 193368125787,
					["FortWildervar"] = 513999099,
					["UtgardeKeep"] = 232428796152,
					["BaelgunsExcavationSite"] = 351765054708,
					["AncientLift"] = 377242188977,
				},
				["Feralas"] = {
					["GrimtotemCompund"] = 183172819103,
					["CampMojache"] = 195051090094,
					["DireMaul"] = 108956774665,
					["LowerWilds"] = 205877626063,
					["FeathermoonStronghold"] = 254856593625,
					["FeralScar"] = 302200835263,
					["TheTwinColossals"] = 284506462,
					["WrithingDeep"] = 320658946280,
					["GordunniOutpost"] = 125249418432,
					["DarkmistRuins"] = 308759697580,
					["RuinsofIsildien"] = 380594533582,
					["RuinsofFeathermoon"] = 246082121936,
					["TheForgottenCoast"] = 368686973122,
				},
				["Uldum"] = {
					["ThroneOfTheFourWinds"] = 465170568462,
					["RuinsOfAmmon"] = 310539183307,
					["Orsis"] = 146305961209,
					["TahretGrounds"] = 207803808918,
					["Nahom"] = 174557694189,
					["Ramkahen"] = 72371899620,
					["RuinsOfAhmtul"] = 382907670,
					["ObeliskOfTheMoon"] = 115573136,
					["AkhenetFields"] = 297920554148,
					["Schnottzslanding"] = 237326599480,
					["ObeliskOfTheSun"] = 303151918349,
					["Marat"] = 187256997024,
					["TheVortexPinnacle"] = 508567948501,
					["VirnaalDam"] = 231356907671,
					["CradelOfTheAncient"] = 432001950922,
					["TempleofUldum"] = 136503837992,
					["ObeliskOfTheStars"] = 130500700356,
					["LostCityOfTheTolVir"] = 313011799273,
					["HallsOfOrigination"] = 198196840717,
					["KhartutsTomb"] = 568548555,
					["TheCursedlanding"] = 183324963053,
					["Neferset"] = 412743891153,
					["TheGateofUnendingCycles"] = 16784797857,
					["TheTrailOfDevestation"] = 375425020110,
				},
				["TwilightHighlands"] = {
					["DragonmawPass"] = 128928921883,
					["Bloodgulch"] = 220553442519,
					["CrucibleOfCarnage"] = 288168820939,
					["Thundermar"] = 100250391790,
					["TheTwilightCitadel"] = 337313630569,
					["TheKrazzworks"] = 686006498,
					["WeepingWound"] = 375584982,
					["RuinsOfDrakgor"] = 310565070,
					["DragonmawPort"] = 263728610555,
					["Kirthaven"] = 505687348,
					["TwilightShore"] = 371080767748,
					["SlitheringCove"] = 182114788550,
					["Highbank"] = 433449045212,
					["GrimBatol"] = 239531741414,
					["ObsidianForest"] = 408479367510,
					["TheBlackBreach"] = 130445166803,
					["Crushblow"] = 480350768310,
					["VermillionRedoubt"] = 17254588740,
					["TheTwilightBreach"] = 206485803207,
					["DunwaldRuins"] = 394477660357,
					["GlopgutsHollow"] = 95868352686,
					["VictoryPoint"] = 328881831089,
					["WyrmsBend"] = 249323264191,
					["GorshakWarCamp"] = 236792752322,
					["HighlandForest"] = 354840453359,
					["HumboldtConflaguration"] = 95923877007,
					["FirebeardsPatrol"] = 285065008343,
					["TheTwilightGate"] = 382595177637,
					["TheGullet"] = 192482037935,
				},
				["HillsbradFoothills"] = {
					["DandredsFold"] = 357680386,
					["Strahnbrad"] = 47774369043,
					["PurgationIsle"] = 542449478800,
					["RuinsOfAlterac"] = 91632096445,
					["DarrowHill"] = 300019777683,
					["GavinsNaze"] = 273091265652,
					["TheHeadland"] = 274213261417,
					["HillsbradFields"] = 324470488366,
					["GrowlessCave"] = 205461266603,
					["SouthpointTower"] = 332922091832,
					["MistyShore"] = 45433922718,
					["GallowsCorner"] = 150796913819,
					["CorrahnsDagger"] = 240965025927,
					["LordamereInternmentCamp"] = 232131828986,
					["DalaranCrater"] = 147209828668,
					["ChillwindPoint"] = 73596673471,
					["NethanderSteed"] = 401032335564,
					["TarrenMill"] = 243183856805,
					["CrushridgeHold"] = 108933542022,
					["DunGarok"] = 440802740493,
					["AzurelodeMine"] = 428724115636,
					["SoferasNaze"] = 178748803220,
					["DurnholdeKeep"] = 233594883509,
					["SlaughterHollow"] = 59488985236,
					["Southshore"] = 378358951141,
					["TheUplands"] = 462586068,
				},
				["Dustwallow"] = {
					["BrackenwllVillage"] = 63490483584,
					["WitchHill"] = 449152270,
					["DirehornPost"] = 181838066967,
					["BlackhoofVillage"] = 208854360,
					["TheWyrmbog"] = 396587478452,
					["AlcazIsland"] = 23236649166,
					["TheramoreIsle"] = 240013008177,
					["Mudsprocket"] = 336195845553,
					["ShadyRestInn"] = 202007353661,
				},
				["Tirisfal"] = {
					["CrusaderOutpost"] = 249827641519,
					["VenomwebVale"] = 161850088698,
					["GarrensHaunt"] = 139013085374,
					["Brill"] = 271086442695,
					["AgamandMills"] = 96976769309,
					["BalnirFarmstead"] = 348515388658,
					["ColdHearthManor"] = 340814644436,
					["ScarletMonastery"] = 51242080518,
					["BrightwaterLake"] = 131597635794,
					["NightmareVale"] = 349330236641,
					["ScarletWatchPost"] = 107026294945,
					["SollidenFarmstead"] = 206369424670,
					["Deathknell"] = 222274411951,
					["RuinsofLorderon"] = 385917136262,
					["CalstonEstate"] = 274212234419,
					["TheBulwark"] = 355078588709,
				},
				["CrystalsongForest"] = {
					["SunreaversCommand"] = 43512087998,
					["TheDecrepitFlow"] = 227616,
					["TheAzureFront"] = 261993439648,
					["VioletStand"] = 188978871560,
					["TheUnboundThicket"] = 113267668470,
					["TheGreatTree"] = 97710772476,
					["WindrunnersOverlook"] = 411708978734,
					["ForlornWoods"] = 135950880,
				},
				["BladesEdgeMountains"] = {
					["VekhaarStand"] = 436598997248,
					["ForgeCampWrath"] = 189245161728,
					["VeilLashh"] = 459845910784,
					["BashirLanding"] = 442761472,
					["BladesipreHold"] = 173202205952,
					["ThunderlordStronghold"] = 292482855168,
					["GruulsLayer"] = 87525949696,
					["BladedGulch"] = 158493573376,
					["CircleofWrath"] = 225946370304,
					["VortexPinnacle"] = 221365352704,
					["MokNathalVillage"] = 319591547136,
					["Skald"] = 76941623552,
					["VeilRuuan"] = 162725495040,
					["BloodmaulOutpost"] = 398717134080,
					["Sylvanaar"] = 376113002752,
					["RavensWood"] = 59280458240,
					["Grishnath"] = 30364926208,
					["JaggedRidge"] = 444997040384,
					["RidgeofMadness"] = 277606721792,
					["BrokenWilds"] = 117806727424,
					["DeathsDoor"] = 267899014400,
					["TheCrystalpine"] = 613679360,
					["RazorRidge"] = 357041520896,
					["RuuanWeald"] = 105729491200,
					["ForgeCampAnger"] = 158454776224,
					["ForgeCampTerror"] = 446827852288,
					["BloodmaulCamp"] = 102437748992,
				},
				["TheLostIsles"] = {
					["RuinsOfVashelan"] = 485792899284,
					["Alliancebeachhead"] = 373797597361,
					["HordeBaseCamp"] = 492029802718,
					["ShipwreckShore"] = 438285024428,
					["Oostan"] = 173388597458,
					["RaptorRise"] = 395573408936,
					["TheSlavePits"] = 73307194580,
					["TheSavageGlen"] = 349189660903,
					["landingSite"] = 385868764302,
					["ScorchedGully"] = 198981222705,
					["SkyFalls"] = 141096577214,
					["BilgewaterLumberyard"] = 46655554808,
					["GallywixDocks"] = 22916812973,
					["Lostpeak"] = 23158330718,
					["OoomlotVillage"] = 370973822173,
					["WarchiefsLookout"] = 154895882399,
				},
				["TheLostIsles_terrain1"] = {
					["Alliancebeachhead"] = 373797597361,
					["HordeBaseCamp"] = 492029802718,
					["WarchiefsLookout"] = 154895882399,
					["ShipwreckShore"] = 438285024428,
					["landingSite"] = 385868764302,
					["OoomlotVillage"] = 370973822173,
					["RuinsOfVashelan"] = 485792899284,
					["BilgewaterLumberyard"] = 46655554808,
					["SkyFalls"] = 141096577214,
					["ScorchedGully"] = 198981222705,
					["Oostan"] = 173388597458,
					["RaptorRise"] = 395573408936,
					["TheSlavePits"] = 73307194580,
					["GallywixDocks"] = 22916812973,
					["TheSavageGlen"] = 349189660903,
					["Lostpeak"] = 23158330718,
				},
				["Netherstorm"] = {
					["SocretharsSeat"] = 41042575616,
					["NetherstormBridge"] = 315818770688,
					["EtheriumStagingGrounds"] = 223842926848,
					["TheStormspire"] = 144194142464,
					["KirinVarVillage"] = 562080924928,
					["ManaforgeCoruu"] = 525434277120,
					["ManafrogeAra"] = 166609551616,
					["ManaforgeDuro"] = 361265103104,
					["RuinsofFarahlon"] = 52984807936,
					["RuinsofEnkaat"] = 323461841152,
					["Netherstone"] = 21906063616,
					["CelestialRidge"] = 186432880896,
					["ForgeBaseOG"] = 23871095040,
					["RuinedManaforge"] = 148714553600,
					["Area52"] = 416864665856,
					["EcoDomeFarfield"] = 11152916736,
					["ArklonRuins"] = 426619699456,
					["ManaforgeBanar"] = 301875989760,
					["TempestKeep"] = 305564877209,
					["TheScrapField"] = 280620171520,
					["TheHeap"] = 488803357952,
					["SunfuryHold"] = 484733838592,
				},
				["TerokkarForest"] = {
					["BonechewerRuins"] = 295825572096,
					["RaastokGlade"] = 165886034176,
					["SkethylMountains"] = 374133293568,
					["StonebreakerHold"] = 177583948032,
					["CarrionHill"] = 292453351680,
					["AllerianStronghold"] = 297930064128,
					["GrangolvarVilliage"] = 183760060928,
					["SmolderingCaravan"] = 494258045184,
					["RefugeCaravan"] = 288094421120,
					["FirewingPoint"] = 160635027841,
					["Tuurem"] = 36984848640,
					["CenarionThicket"] = 329515264,
					["TheBarrierHills"] = 4416864512,
					["ShattrathCity"] = 4404544000,
					["BleedingHollowClanRuins"] = 323304668416,
					["RazorthornShelf"] = 20902576384,
					["AuchenaiGrounds"] = 466263189760,
					["SethekkTomb"] = 310568550656,
					["RingofObservance"] = 370766250240,
					["VeilRhaze"] = 388927586560,
					["WrithingMound"] = 351551095040,
				},
				["Kezan"] = {
					["Drudgetown"] = 394252301663,
					["FirstbankofKezan"] = 349069204856,
					["BilgewaterPort"] = 159085005494,
					["GallywixsVilla"] = 44023877935,
					["Kajamine"] = 331327316322,
					["KajaroField"] = 279574793466,
					["KezanMap"] = 4295648234,
					["SwindleStreet"] = 249440720040,
				},
				["RuinsofGilneas"] = {
					["GilneasPuzzle"] = 685034,
				},
				["Hellfire"] = {
					["MagharPost"] = 118327869696,
					["ZethGor"] = 462317402534,
					["HonorHold"] = 320467108096,
					["HellfireCitadel"] = 225840670976,
					["TheLegionFront"] = 138046603520,
					["WarpFields"] = 438409892096,
					["TempleofTelhamat"] = 163249127936,
					["VoidRidge"] = 395876499712,
					["PoolsofAggonar"] = 48660742400,
					["FalconWatch"] = 350232074752,
					["ForgeCampRage"] = 27345289728,
					["DenofHaalesh"] = 442572734720,
					["TheStairofDestiny"] = 168277049600,
					["FallenSkyRidge"] = 152507252992,
					["Thrallmar"] = 165846188288,
					["ThroneofKiljaeden"] = 6942884352,
					["ExpeditionArmory"] = 443729313280,
					["RuinsofShanaar"] = 311411730688,
				},
				["Zangarmarsh"] = {
					["ZabraJin"] = 249291866368,
					["AngoroshStronghold"] = 130154752,
					["TwinspireRuins"] = 267720589568,
					["BloodscaleEnclave"] = 443006845184,
					["CoilfangReservoir"] = 97121730816,
					["Telredor"] = 120856248576,
					["TheDeadMire"] = 138190258462,
					["Sporeggar"] = 216917082624,
					["CenarionRefuge"] = 345399099700,
					["TheHewnBog"] = 54990995712,
					["OreborHarborage"] = 27189051648,
					["QuaggRidge"] = 349114293504,
					["TheLagoon"] = 325880905984,
					["UmbrafenVillage"] = 495750167808,
					["TheSpawningGlen"] = 364031246592,
					["FeralfenVillage"] = 356811883008,
					["AngoroshGrounds"] = 53779628288,
					["MarshlightLake"] = 163293954304,
				},
				["ShadowmoonValley"] = {
					["TheBlackTemple"] = 135927431564,
					["NetherwingLedge"] = 478350114284,
					["TheHandofGuldan"] = 97050427904,
					["IlladarPoint"] = 275028115712,
					["WildhammerStronghold"] = 246063488512,
					["ShadowmoonVilliage"] = 37703123456,
					["TheDeathForge"] = 138817306880,
					["NetherwingCliffs"] = 331293655296,
					["CoilskarPoint"] = 8955363840,
					["LegionHold"] = 166539559424,
					["TheWardensCage"] = 277517593088,
					["EclipsePoint"] = 333219994112,
					["AltarofShatar"] = 100403511552,
				},
				["Nagrand"] = {
					["LaughingSkullRuins"] = 56202887424,
					["Garadar"] = 153997279488,
					["Halaa"] = 207583707392,
					["Telaar"] = 419165372672,
					["KilsorrowFortress"] = 459073111296,
					["ForgeCampHate"] = 165526372608,
					["RingofTrials"] = 287248220416,
					["WindyreedVillage"] = 250880459008,
					["ClanWatch"] = 390326386944,
					["SouthwindCleft"] = 277435646208,
					["ForgeCampFear"] = 266326151680,
					["SunspringPost"] = 213904523520,
					["WindyreedPass"] = 85452914944,
					["WarmaulHill"] = 34524627200,
					["BurningBladeRUins"] = 359322171648,
					["ThroneoftheElements"] = 57437061376,
					["TwilightRidge"] = 114901385472,
					["OshuGun"] = 358806272512,
					["ZangarRidge"] = 58272776448,
				},
				["TheWanderingIsle"] = {
				["RidgeofLaughingWinds"] = 212793099577,
				["SkyfireCrash-Site"] = 434995731802,
				["TheSingingPools"] = 13456862580,
				["MorningBreezeVillage"] = 38867889413,
				["MandoriVillage"] = 316091521634,
				["Pei-WuForest"] = 436307499659,
				["TheDawningValley"] = 341471909,
				["TheRows"] = 317282702721,
				["Fe-FangVillage"] = 9804478698,
				["TempleofFiveDawns"] = 195835672159,
				["TheWoodofStaves"] = 216909958109,
			},
			["Krasarang"] = {
				["ZhusBastion"] = 641937714,
				["RuinsOfKorja"] = 94620757203,
				["krasarangCove"] = 21136421150,
				["TheForbiddenJungle"] = 84825911553,
				["TheSouthernIsles"] = 286713505020,
				["UngaIngoo"] = 535069632770,
				["CradleOfChiJi"] = 403911731472,
				["DojaniRiver"] = 3759433918,
				["TempleOfTheRedCrane"] = 231169330395,
				["TheDeepwild"] = 63767474364,
				["NayeliLagoon"] = 400865607926,
				["RedwingRefuge"] = 67978405076,
				["FallsongRiver"] = 82907112662,
				["RuinsOfDojan"] = 47710600396,
				["LostDynasty"] = 29608926425,
				["AnglersOutpost"] = 220688746761,
			},
			["Uldum_terrain1"] = {
				["ThroneOfTheFourWinds"] = 465170568462,
				["RuinsOfAmmon"] = 310539183307,
				["Orsis"] = 146305961209,
				["TahretGrounds"] = 207803808918,
				["Nahom"] = 174557694189,
				["Ramkahen"] = 72371899620,
				["RuinsOfAhmtul"] = 382907670,
				["ObeliskOfTheMoon"] = 115573136,
				["AkhenetFields"] = 297920554148,
				["Schnottzslanding"] = 237326599480,
				["ObeliskOfTheSun"] = 303151918349,
				["Marat"] = 187256997024,
				["TheVortexPinnacle"] = 508567948501,
				["VirnaalDam"] = 231356907671,
				["CradelOfTheAncient"] = 432001950922,
				["TempleofUldum"] = 136503837992,
				["ObeliskOfTheStars"] = 130500700356,
				["LostCityOfTheTolVir"] = 313011799273,
				["HallsOfOrigination"] = 198196840717,
				["KhartutsTomb"] = 568548555,
				["TheCursedlanding"] = 183324963053,
				["Neferset"] = 412743891153,
				["TheGateofUnendingCycles"] = 16784797857,
				["TheTrailOfDevestation"] = 375425020110,
			},
			["ValleyoftheFourWinds"] = {
				["KuzenVillage"] = 79692087495,
				["NesingwarySafari"] = 350149236985,
				["Theheartland"] = 80796328222,
				["ThunderfootFields"] = 652539260,
				["DustbackGorge"] = 368293761233,
				["GrandGranery"] = 349316534586,
				["MudmugsPlace"] = 173460907238,
				["SingingMarshes"] = 139764993199,
				["ZhusDecent"] = 123139853615,
				["PoolsofPurity"] = 62815197397,
				["SilkenFields"] = 272212692222,
				["Halfhill"] = 190511830222,
				["RumblingTerrace"] = 323806811413,
				["HarvestHome"] = 256629796100,
				["GildedFan"] = 44482990288,
				["CliffsofDispair"] = 434017411582,
				["StormsoutBrewery"] = 408260215041,
				["PaoquanHollow"] = 112755726609,
			},
			["TownlongWastes"] = {
				["Sikvess"] = 465251314949,
				["SriVess"] = 206255189286,
				["palewindVillage"] = 389420468506,
				["ShadoPanGarrison"] = 413823838421,
				["ShanzeDao"] = 131324204,
				["KriVess"] = 224852718847,
				["OsulMesa"] = 199229743342,
				["TheSumprushes"] = 396782417167,
				["GaoRanBlockade"] = 503083901281,
				["MingChiCrossroads"] = 480400078071,
				["NiuzaoTemple"] = 258995494184,
			},
			["TheJadeForest"] = {
				["EmperorsOmen"] = 22999675082,
				["RuinsOfGanShi"] = 331512004,
				["ChunTianMonastery"] = 60444317923,
				["WindlessIsle"] = 46736437499,
				["TempleOfTheJadeSerpent"] = 317244787976,
				["HellscreamsHope"] = 80720599236,
				["Waywardlanding"] = 517906557147,
				["DawnsBlossom"] = 191467047146,
				["SlingtailPits"] = 447125573811,
				["WreckOfTheSkyShark"] = 211974354,
				["NectarbreezeOrchard"] = 354639151323,
				["NookaNooka"] = 162333406427,
				["GrookinMound"] = 229971825917,
				["GlassfinVillage"] = 384950393110,
				["JadeMines"] = 157185882348,
				["SerpentsSpine"] = 321455874239,
				["TheArboretum"] = 231359072498,
				["DreamersPavillion"] = 558842925274,
			},
			["DreadWastes"] = {
				["SOGGYSGAMBLE"] = 436411286796,
				["BRINYMUCK"] = 334158379333,
				["HORRIDMARCH"] = 240980789571,
				["BREWGARDEN"] = 368273658,
				["HEARTOFFEAR"] = 131197080838,
				["DREADWATERLAKE"] = 336539635010,
				["TERRACEOFGURTHAN"] = 99406293201,
				["RIKKITUNVILLAGE"] = 34607392986,
				["CLUTCHESOFSHEKZEER"] = 134575618257,
				["KLAXXIVESS"] = 118592059628,
				["KYPARIVOR"] = 508754245,
				["ZANVESS"] = 413560761634,
			},
			["KunLaiSummit"] = {
				["Mogujia"] = 441792545021,
				["Kotapeak"] = 386791638268,
				["GateoftheAugust"] = 543784339717,
				["MuskpawRanch"] = 336713750757,
				["BinanVillage"] = 505295345904,
				["ValleyOfEmperors"] = 205559940320,
				["PeakOfSerenity"] = 67995194655,
				["FireboughNook"] = 532913762528,
				["ZouchinVillage"] = 69246086442,
				["Iseoflostsouls"] = 4926448899,
				["ShadoPanMonastery"] = 98876917121,
				["TheBurlapTrail"] = 333277581622,
				["MountNeverset"] = 283707130169,
				["TEMPLEOFTHEWHITETIGER"] = 183151890682,
			},
			["TheHiddenPass"] = {
				["TheHiddenSteps"] = 512607059234,
				["TheBlackMarket"] = 188294346207,
			},
			["ValeofEternalBlossoms"] = {
				["TheStairsAscent"] = 287272443326,
				["WhitepetalLake"] = 182827902219,
				["SettingSunTraining"] = 251256026462,
				["WhiteMoonShrine"] = 11243100458,
				["WinterboughGlade"] = 114894910825,
				["MoguShanPalace"] = 24282269045,
				["MistfallVillage"] = 389978309942,
				["TheTwinMonoliths"] = 104619059472,
				["TheGoldenStair"] = 17524062450,
				["TuShenBurialGround"] = 339668685067,
				["GuoLaiRuins"] = 3312809297,
			},
				['*'] = {},
			},
		}
	}
	--For Orcs, Hyjal is called Hyjal_terrain1.  I dunno, ask Blizzard.
	defaults.global.overlayData.Hyjal_terrain1 = defaults.global.overlayData.Hyjal

	local db
	local overlayTextures  = {}
	local function OverrideMapOverlays()
		local discoveredOverlayData = {}

		if (not DugisGuideViewer:UserSetting(DGV_REMOVEMAPFOG) or not MOD.GuideOn) and #overlayTextures==0 then
			return
		end

		for i = 1, #overlayTextures  do
			overlayTextures [i]:Hide()
		end
		wipe(overlayTextures)


		for i = 1, NUM_WORLDMAP_OVERLAYS do
			tinsert(overlayTextures, _G[format("WorldMapOverlay%d", i)])
		end
		
		local mapName, _, _, _, microDungeonMapName = GetMapInfo();
		--DebugPrint("Debug OverrideMapOverlays: mapName="..tostring(mapName))
		if not mapName then
			return
		end
		local mapDirectory
		if microDungeonMapName then
			mapDirectory = "Interface\\WorldMap\\MicroDungeon\\"..mapName.."\\"..microDungeonMapName.."\\"
			mapName = mapName..":"..microDungeonMapName
		else
			mapDirectory = "Interface\\WorldMap\\"..mapName.."\\"
		end

		if db.global.overlayData[mapName]==nil then
			db.global.overlayData[mapName] = {}
		end
		local overlayData = db.global.overlayData[mapName]

		local numOverlayTextures = GetNumMapOverlays()
		--DebugPrint("Debug OverrideMapOverlays: numOverlayTextures="..numOverlayTextures);

		for i=1, numOverlayTextures do
			local texName, texWidth, texHeight, offsetX, offsetY = GetMapOverlayInfo(i)
			texName = strsub(texName, strlen(mapDirectory) + 1)
			--DebugPrint("texName: "..texName);
			local texData = texWidth + texHeight * 2^10 + offsetX * 2^20 + offsetY * 2^30
			--DebugPrint("texData: "..texData);
			if texData ~= 0 and texData ~= 131200 and texName ~= "" and strlower(texName) ~= "pixelfix" then
				discoveredOverlayData[texName] = texData
				overlayData[texName] = texData
			end
		end

		local textureCount = 0
		numOverlayTextures  = #overlayTextures
		--DebugPrint("#overlayTextures: "..numOverlayTextures);
		for texName, texData in pairs(overlayData) do
			local texturePath = mapDirectory .. texName
			local textureWidth, textureHeight, offsetX, offsetY = mod(texData, 2^10), mod(floor(texData / 2^10), 2^10), mod(floor(texData / 2^20), 2^10), floor(texData / 2^30)

			local numTexturesWide = ceil(textureWidth / 256)
			local numTexturesTall = ceil(textureHeight / 256)
			local neededTextures = textureCount + (numTexturesWide * numTexturesTall)
			--DebugPrint("numTexturesTall: "..numTexturesTall);
			--DebugPrint("neededTextures: "..neededTextures);
			if neededTextures > numOverlayTextures  then
				for j = numOverlayTextures  + 1, neededTextures do
					local texture = WorldMapDetailFrame:CreateTexture(format("WorldMapOverlay%d", j), "ARTWORK")
					tinsert(overlayTextures , texture)
				end
				numOverlayTextures  = neededTextures
			end
			local texturePixelWidth, textureFileWidth, texturePixelHeight, textureFileHeight
			for j = 1, numTexturesTall do
				if j < numTexturesTall then
					texturePixelHeight = 256
					textureFileHeight = 256
				else
					texturePixelHeight = mod(textureHeight, 256)
					if texturePixelHeight == 0 then
						texturePixelHeight = 256
					end
					textureFileHeight = 16
					while textureFileHeight < texturePixelHeight do
						textureFileHeight = textureFileHeight * 2
					end
				end
				for k = 1, numTexturesWide do
					textureCount = textureCount + 1
					local texture = overlayTextures [textureCount]
					if k < numTexturesWide then
						texturePixelWidth = 256
						textureFileWidth = 256
					else
						texturePixelWidth = mod(textureWidth, 256)
						if texturePixelWidth == 0 then
							texturePixelWidth = 256
						end
						textureFileWidth = 16
						while textureFileWidth < texturePixelWidth do
							textureFileWidth = textureFileWidth * 2
						end
					end
					texture:SetWidth(texturePixelWidth)
					texture:SetHeight(texturePixelHeight)
					texture:SetTexCoord(0, texturePixelWidth / textureFileWidth, 0, texturePixelHeight / textureFileHeight)
					texture:ClearAllPoints()
					texture:SetPoint("TOPLEFT", (offsetX + (256 * (k-1))), -(offsetY + (256 * (j - 1))))
					texture:SetTexture(format(texturePath.."%d", ((j - 1) * numTexturesWide) + k))

					if discoveredOverlayData[texName] then
						texture:SetVertexColor(1, 1, 1)
						texture:SetDrawLayer("ARTWORK")
						texture:Show()
					elseif DugisGuideViewer:UserSetting(DGV_REMOVEMAPFOG) and MOD.GuideOn then
						texture:SetVertexColor(.5, .5, .5)
						texture:SetDrawLayer("BORDER")
						texture:Show()
					else
						texture:Hide()
					end


				end
			end
		end
		for i = textureCount+1, numOverlayTextures  do
			overlayTextures [i]:Hide()
		end

		wipe(discoveredOverlayData)

		if not DugisGuideViewer:UserSetting(DGV_REMOVEMAPFOG) or not MOD.GuideOn then
			wipe(overlayTextures)
		end
	end

	-- Code courtesy ckknight
	function MOD:GetCurrentCursorPosition(frame)
	local x, y = GetCursorPosition()
	local left, top = frame:GetLeft(), frame:GetTop()
	local width = frame:GetWidth()
	local height = frame:GetHeight()
	local scale = frame:GetEffectiveScale()
	local cx = (x/scale - left) / width
	local cy = (top - y/scale) / height

		if cx < 0 or cx > 1 or cy < 0 or cy > 1 then
			return nil, nil
	end
	return cx, cy
	end

	local formatCoords = "%.2f, %.2f"


	local UpdateWorldMapFrame = MOD.NoOp
	function MOD:InitializeMapOverlays()
		DebugPrint("Debug: InitializeMapOverlays");
		db = LibStub("AceDB-3.0"):New("MapOverlays", defaults)
		hooksecurefunc("WorldMapFrame_Update", UpdateWorldMapFrame);
	end

	function MOD:MapHasOverlays()
		local mapFileName, _, _, _, microDungeonMapName = GetMapInfo();
		if not mapFileName then return false end
		
		local mapDirectory
		if microDungeonMapName then
			mapDirectory = "Interface\\WorldMap\\MicroDungeon\\"..mapFileName.."\\"..microDungeonMapName.."\\"
			mapFileName = mapFileName..":"..microDungeonMapName
		else
			mapDirectory = "Interface\\WorldMap\\"..mapFileName.."\\"
		end

		local overlayMap = db.global.overlayData[mapFileName]
		if overlayMap and next(overlayMap) then return true end
		return false
	end

	function MapOverlays:Load()
		UpdateWorldMapFrame = function()
			if not MOD.CoordsFrame then
				DebugPrint("Debug UpdateWorldMapFrame: WorldMapFrame="..tostring(WorldMapFrame))
				MOD.CoordsFrame = CreateFrame("Frame", nil, WorldMapFrame)
				MOD.CoordsFrame.Player = MOD.CoordsFrame:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
				MOD.CoordsFrame.Cursor = MOD.CoordsFrame:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
				MOD.CoordsFrame:SetScript("OnUpdate", function()
					if MOD:UserSetting(DGV_DISPLAYMAPCOORDINATES) and MOD.CoordsFrame:IsShown()
						and not DugisGuideViewer.mapsterloaded
						and not DugisGuideViewer.tomtomloaded
					then
						local _, _, x, y  = DugisGuideViewer.astrolabe:GetUnitPosition("player", true)
						if not x or not y then
							MOD.CoordsFrame.Player:SetText("|cfff0c502Player:|r ---")
						else
							MOD.CoordsFrame.Player:SetFormattedText("|cfff0c502Player:|r %s", formatCoords:format(x*100, y*100))
						end

						if WorldMapButton:GetLeft() then --prevents error on early load
							local cX, cY = MOD:GetCurrentCursorPosition(WorldMapButton)
							if not cX or not cY then
								MOD.CoordsFrame.Cursor:SetText("|cfff0c502Cursor:|r ---")
							else
								MOD.CoordsFrame.Cursor:SetFormattedText("|cfff0c502Cursor:|r %s", formatCoords:format(cX*100, cY*100))
							end
						end
					else
						MOD.CoordsFrame:Hide()
					end

					if DugisGuideViewer.tomtomloaded
						or MOD:UserSetting(DGV_DISPLAYMAPCOORDINATES)
					then
						if WORLDMAP_SETTINGS.size == WORLDMAP_WINDOWED_SIZE then
							WorldMapTrackQuest:Hide()
						else
							WorldMapTrackQuest:Show()
						end
					end
				end)
				MOD.CoordsFrame:Show()
			end

			MOD.CoordsFrame.Player:ClearAllPoints()
			MOD.CoordsFrame.Cursor:ClearAllPoints()
					
			if WORLDMAP_SETTINGS.size == WORLDMAP_WINDOWED_SIZE then
				MOD.CoordsFrame.Player:SetPoint("BOTTOMLEFT", WorldMapDetailFrame, "BOTTOMLEFT", 8, -19)
				MOD.CoordsFrame.Cursor:SetPoint("LEFT", MOD.CoordsFrame.Player, "RIGHT", 4, 0)
			else
				MOD.CoordsFrame.Player:SetPoint("RIGHT", WorldMapPositioningGuide, "BOTTOM", -15, 15)
				MOD.CoordsFrame.Cursor:SetPoint("LEFT", WorldMapPositioningGuide, "BOTTOM", 15, 15)
			end
			OverrideMapOverlays()
		end
		MOD:InitializeMapOverlays()
	end

	function MapOverlays:Unload()
		OverrideMapOverlays()
		UpdateWorldMapFrame = MOD.NoOp
		if MOD.CoordsFrame then MOD.CoordsFrame:Hide() end
	end
end
