<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
	<Script file="WorldMapFrame.lua"/>
	<Include file="WorldMapFrameTemplates.xml"/>
	<Frame name="WorldMapFrame" setAllPoints="true" frameStrata="FULLSCREEN" hidden="true" enableKeyboard="true" enableMouse="true">
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="BlackoutWorld">
					<Anchors>
						<Anchor point="BOTTOMLEFT"/>
						<Anchor point="TOPRIGHT"/>
					</Anchors>
					<Color r="0.0" g="0.0" b="0.0"/>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture name="$parentTexture1">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="CENTER">
							<Offset>
								<AbsDimension x="-512" y="384"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentTexture2">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="CENTER">
							<Offset>
								<AbsDimension x="-256" y="384"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentTexture3">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="CENTER">
							<Offset>
								<AbsDimension x="0" y="384"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentTexture4">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="CENTER">
							<Offset>
								<AbsDimension x="256" y="384"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentTexture5">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="CENTER">
							<Offset>
								<AbsDimension x="-512" y="128"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentTexture6">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="CENTER">
							<Offset>
								<AbsDimension x="-256" y="128"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentTexture7">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="CENTER">
							<Offset>
								<AbsDimension x="0" y="128"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentTexture8">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="CENTER">
							<Offset>
								<AbsDimension x="256" y="128"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentTexture9">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="CENTER">
							<Offset>
								<AbsDimension x="-512" y="-128"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentTexture10">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="CENTER">
							<Offset>
								<AbsDimension x="-256" y="-128"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentTexture11">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="CENTER">
							<Offset>
								<AbsDimension x="0" y="-128"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentTexture12">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="CENTER">
							<Offset>
								<AbsDimension x="256" y="-128"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString inherits="GameFontNormal" text="WORLD_MAP">
					<Anchors>
						<Anchor point="CENTER">
							<Offset>
								<AbsDimension x="0" y="372"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="WorldMapPositioningGuide">
				<Size>
					<AbsDimension x="1024" y="768" />
				</Size>
				<Anchors>
					<Anchor point="CENTER" relativePoint="CENTER">
						<Offset>
							<AbsDimension x="0" y="0" />
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<Frame name="WorldMapContinentDropDown" inherits="UIDropDownMenuTemplate" id="1">
				<Anchors>
					<Anchor point="TOP" relativePoint="TOP" relativeTo="WorldMapPositioningGuide">
						<Offset>
							<AbsDimension x="-80" y="-35"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="OVERLAY">
						<FontString inherits="GameFontNormalSmall" text="CONTINENT">
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="20" y="10"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
			</Frame>
			<Frame name="WorldMapZoneDropDown" inherits="UIDropDownMenuTemplate" id="2">
				<Anchors>
					<Anchor point="LEFT" relativeTo="WorldMapContinentDropDown" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="-33" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="OVERLAY">
						<FontString inherits="GameFontNormalSmall" text="ZONE">
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="20" y="10"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
			</Frame>
			<Frame name="WorldMapZoneMinimapDropDown" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="WorldMapPositioningGuide" relativePoint="TOP">
						<Offset>
							<AbsDimension x="-418" y="-35"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="OVERLAY">
						<FontString inherits="GameFontNormalSmall" text="BATTLEFIELD_MINIMAP">
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="20" y="10"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnEnter>
						WorldMapTooltip:SetOwner(self, "ANCHOR_BOTTOMRIGHT");
						WorldMapTooltip:SetText(TOGGLE_BATTLEFIELDMINIMAP_TOOLTIP, nil, nil, nil, nil, 1);
						WorldMapTooltip:Show();
					</OnEnter>
					<OnLeave>
						WorldMapTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Frame>
			<Button name="WorldMapZoomOutButton" inherits="UIPanelButtonTemplate" text="ZOOM_OUT">
				<Size>
					<AbsDimension x="110" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="LEFT" relativeTo="WorldMapZoneDropDown" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="-10" y="3"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						WorldMapZoomOutButton_OnClick();
					</OnClick>
				</Scripts>
			</Button>
			<Frame name="WorldMapLevelDropDown" inherits="UIDropDownMenuTemplate" id="2">
				<Anchors>
					<Anchor point="LEFT" relativeTo="WorldMapZoomOutButton" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="-10" y="-3"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="OVERLAY">
						<FontString inherits="GameFontNormalSmall" text="FLOOR">
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="20" y="10"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
			</Frame>
			<Button name="WorldMapMagnifyingGlassButton">
				<Size>
					<AbsDimension x="179" y="40"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOP" relativeTo="WorldMapPositioningGuide">
						<Offset>
							<AbsDimension x="-468" y="-86"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture file="Interface\WorldMap\WorldMap-MagnifyingGlass">
							<Size>
								<AbsDimension x="32" y="32"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						self:SetFrameLevel(self:GetFrameLevel() + 2);
						self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
					</OnLoad>
					<OnClick>
						WorldMapZoomOutButton_OnClick();
					</OnClick>
				</Scripts>
				<ButtonText text="ZOOM_OUT_BUTTON_TEXT">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="32" y="-5"/>
							</Offset>
						</Anchor>
					</Anchors>
				</ButtonText>
				<NormalFont style="GameFontHighlightSmall"/>
			</Button>
			<Button name="WorldMapFrameCloseButton" inherits="UIPanelCloseButton">
				<Anchors>
					<Anchor point="TOPRIGHT" relativePoint="TOP" relativeTo="WorldMapPositioningGuide">
						<Offset>
							<AbsDimension x="516" y="4"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Frame name="WorldMapDetailFrame" hidden="false">
				<Size>
					<AbsDimension x="1002" y="668"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOP" relativeTo="WorldMapPositioningGuide">
						<Offset>
							<AbsDimension x="-502" y="-69"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
							<Texture name="WorldMapDetailTile1">
							<Size>
								<AbsDimension x="256" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT"/>
							</Anchors>
						</Texture>
						<Texture name="WorldMapDetailTile2">
							<Size>
								<AbsDimension x="256" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile1" relativePoint="TOPRIGHT"/>
							</Anchors>
						</Texture>
						<Texture name="WorldMapDetailTile3">
							<Size>
								<AbsDimension x="256" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile2" relativePoint="TOPRIGHT"/>
							</Anchors>
						</Texture>
						<Texture name="WorldMapDetailTile4">
							<Size>
								<AbsDimension x="256" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile3" relativePoint="TOPRIGHT"/>
							</Anchors>
						</Texture>
						<Texture name="WorldMapDetailTile5">
							<Size>
								<AbsDimension x="256" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile1" relativePoint="BOTTOMLEFT"/>
							</Anchors>
						</Texture>
						<Texture name="WorldMapDetailTile6">
							<Size>
								<AbsDimension x="256" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile5" relativePoint="TOPRIGHT"/>
							</Anchors>
						</Texture>
						<Texture name="WorldMapDetailTile7">
							<Size>
								<AbsDimension x="256" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile6" relativePoint="TOPRIGHT"/>
							</Anchors>
						</Texture>
						<Texture name="WorldMapDetailTile8">
							<Size>
								<AbsDimension x="256" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile7" relativePoint="TOPRIGHT"/>
							</Anchors>
						</Texture>
						<Texture name="WorldMapDetailTile9">
							<Size>
								<AbsDimension x="256" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile5" relativePoint="BOTTOMLEFT"/>
							</Anchors>
						</Texture>
						<Texture name="WorldMapDetailTile10">
							<Size>
								<AbsDimension x="256" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile9" relativePoint="TOPRIGHT"/>
							</Anchors>
						</Texture>
						<Texture name="WorldMapDetailTile11">
							<Size>
								<AbsDimension x="256" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile10" relativePoint="TOPRIGHT"/>
							</Anchors>
						</Texture>
						<Texture name="WorldMapDetailTile12">
							<Size>
								<AbsDimension x="256" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="WorldMapDetailTile11" relativePoint="TOPRIGHT"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="ARTWORK">
						<Texture name="WorldMapHighlight" alphaMode="ADD" hidden="true">
							<Size>
								<AbsDimension x="128" y="128"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
			</Frame>
			<Button name="WorldMapButton">
				<Size>
					<AbsDimension x="1002" y="668"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="WorldMapDetailFrame">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Frame name="WorldMapPlayer" id="0">
						<Size>
							<AbsDimension x="16" y="16"/>
						</Size>
						<Anchors>
							<Anchor point="CENTER"/>
						</Anchors>
						<Scripts>
							<OnLoad>
								self.unit = "player";
								self:SetFrameLevel(self:GetFrameLevel()+1);
							</OnLoad>
							<OnEnter>
								WorldMapUnit_OnEnter(self);
							</OnEnter>
							<OnLeave>
								WorldMapTooltip:Hide();
							</OnLeave>
							<OnMouseUp>
								MapUnit_OnMouseUp(self, button, "WorldMapRaid", "WorldMapParty");
							</OnMouseUp>
						</Scripts>
					</Frame>
					<!-- Unit drop down for the Notify AFK -->
					<Frame name="MapGroupDropDown" inherits="UIDropDownMenuTemplate" clampedToScreen="true" id="1" hidden="true" />

					<Frame name="WorldMapParty1" inherits="WorldMapUnitTemplate" id="1"/>
					<Frame name="WorldMapParty2" inherits="WorldMapUnitTemplate" id="2"/>
					<Frame name="WorldMapParty3" inherits="WorldMapUnitTemplate" id="3"/>
					<Frame name="WorldMapParty4" inherits="WorldMapUnitTemplate" id="4"/>
					<Frame name="WorldMapRaid1" inherits="WorldMapRaidUnitTemplate" id="1"/>
					<Frame name="WorldMapRaid2" inherits="WorldMapRaidUnitTemplate" id="2"/>
					<Frame name="WorldMapRaid3" inherits="WorldMapRaidUnitTemplate" id="3"/>
					<Frame name="WorldMapRaid4" inherits="WorldMapRaidUnitTemplate" id="4"/>
					<Frame name="WorldMapRaid5" inherits="WorldMapRaidUnitTemplate" id="5"/>
					<Frame name="WorldMapRaid6" inherits="WorldMapRaidUnitTemplate" id="6"/>
					<Frame name="WorldMapRaid7" inherits="WorldMapRaidUnitTemplate" id="7"/>
					<Frame name="WorldMapRaid8" inherits="WorldMapRaidUnitTemplate" id="8"/>
					<Frame name="WorldMapRaid9" inherits="WorldMapRaidUnitTemplate" id="9"/>
					<Frame name="WorldMapRaid10" inherits="WorldMapRaidUnitTemplate" id="10"/>
					<Frame name="WorldMapRaid11" inherits="WorldMapRaidUnitTemplate" id="11"/>
					<Frame name="WorldMapRaid12" inherits="WorldMapRaidUnitTemplate" id="12"/>
					<Frame name="WorldMapRaid13" inherits="WorldMapRaidUnitTemplate" id="13"/>
					<Frame name="WorldMapRaid14" inherits="WorldMapRaidUnitTemplate" id="14"/>
					<Frame name="WorldMapRaid15" inherits="WorldMapRaidUnitTemplate" id="15"/>
					<Frame name="WorldMapRaid16" inherits="WorldMapRaidUnitTemplate" id="16"/>
					<Frame name="WorldMapRaid17" inherits="WorldMapRaidUnitTemplate" id="17"/>
					<Frame name="WorldMapRaid18" inherits="WorldMapRaidUnitTemplate" id="18"/>
					<Frame name="WorldMapRaid19" inherits="WorldMapRaidUnitTemplate" id="19"/>
					<Frame name="WorldMapRaid20" inherits="WorldMapRaidUnitTemplate" id="20"/>
					<Frame name="WorldMapRaid21" inherits="WorldMapRaidUnitTemplate" id="21"/>
					<Frame name="WorldMapRaid22" inherits="WorldMapRaidUnitTemplate" id="22"/>
					<Frame name="WorldMapRaid23" inherits="WorldMapRaidUnitTemplate" id="23"/>
					<Frame name="WorldMapRaid24" inherits="WorldMapRaidUnitTemplate" id="24"/>
					<Frame name="WorldMapRaid25" inherits="WorldMapRaidUnitTemplate" id="25"/>
					<Frame name="WorldMapRaid26" inherits="WorldMapRaidUnitTemplate" id="26"/>
					<Frame name="WorldMapRaid27" inherits="WorldMapRaidUnitTemplate" id="27"/>
					<Frame name="WorldMapRaid28" inherits="WorldMapRaidUnitTemplate" id="28"/>
					<Frame name="WorldMapRaid29" inherits="WorldMapRaidUnitTemplate" id="29"/>
					<Frame name="WorldMapRaid30" inherits="WorldMapRaidUnitTemplate" id="30"/>
					<Frame name="WorldMapRaid31" inherits="WorldMapRaidUnitTemplate" id="31"/>
					<Frame name="WorldMapRaid32" inherits="WorldMapRaidUnitTemplate" id="32"/>
					<Frame name="WorldMapRaid33" inherits="WorldMapRaidUnitTemplate" id="33"/>
					<Frame name="WorldMapRaid34" inherits="WorldMapRaidUnitTemplate" id="34"/>
					<Frame name="WorldMapRaid35" inherits="WorldMapRaidUnitTemplate" id="35"/>
					<Frame name="WorldMapRaid36" inherits="WorldMapRaidUnitTemplate" id="36"/>
					<Frame name="WorldMapRaid37" inherits="WorldMapRaidUnitTemplate" id="37"/>
					<Frame name="WorldMapRaid38" inherits="WorldMapRaidUnitTemplate" id="38"/>
					<Frame name="WorldMapRaid39" inherits="WorldMapRaidUnitTemplate" id="39"/>
					<Frame name="WorldMapRaid40" inherits="WorldMapRaidUnitTemplate" id="40"/>
					<Frame name="WorldMapFlag1" inherits="WorldMapFlagTemplate" id="1"/>
					<Frame name="WorldMapFlag2" inherits="WorldMapFlagTemplate" id="2"/>
					<Frame name="WorldMapCorpse" inherits="WorldMapCorpseTemplate"/>
					<Frame name="WorldMapDeathRelease" inherits="WorldMapCorpseTemplate">
						<Scripts>
							<OnEnter>
								local x, y = self:GetCenter();
								local parentX, parentY = self:GetParent():GetCenter();
								if ( x > parentX ) then
									WorldMapTooltip:SetOwner(self, "ANCHOR_LEFT");
								else
									WorldMapTooltip:SetOwner(self, "ANCHOR_RIGHT");
								end
								WorldMapTooltip:SetText(SPIRIT_HEALER_RELEASE_RED);
								WorldMapTooltip:Show();
							</OnEnter>
						</Scripts>
					</Frame>
					<Model name="WorldMapPing" file="Interface\MiniMap\Ping\MinimapPing.mdx" scale="0.4" hidden="true">
						<Size>
							<AbsDimension x="50" y="50"/>
						</Size>
						<Anchors>
							<Anchor point="CENTER" relativeTo="WorldMapFrame"/>
						</Anchors>
						<Scripts>
							<OnLoad>
								self.fadeOut = nil;
								self:SetSequence(0);
							</OnLoad>
						</Scripts>
					</Model>
					<Frame name="WorldMapFrameAreaFrame">
						<Size x="400" y="128"/>
						<Anchors>
							<Anchor point="TOP">
								<Offset>
									<AbsDimension x="0" y="-10"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="WorldMapFrameAreaLabel" inherits="WorldMapTextFont" text="BLAH!">
									<Anchors>
										<Anchor point="TOP">
											<Offset>
												<AbsDimension x="20" y="-20"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="WorldMapFrameAreaDescription" inherits="SubZoneTextFont">
									<Anchors>
										<Anchor point="TOP" relativeTo="WorldMapFrameAreaLabel" relativePoint="BOTTOM">
											<Offset>
												<AbsDimension x="0" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
					</Frame>
					<Button name="OutlandButton" hidden="true">
						<Size>
							<AbsDimension x="320" y="320"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="115" y="-90"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								SetMapZoom(3);
							</OnClick>
						</Scripts>
						<HighlightTexture name="$parentHighlight" file="Interface\WorldMap\Cosmic\Cosmic-Outland-Highlight">
							<Size x="856" y="605"/>
							<Anchors>
								<Anchor point="CENTER">
									<Offset>
										<AbsDimension x="176" y="-87"/>
									</Offset>
								</Anchor>
							</Anchors>
						</HighlightTexture>
					</Button>
					<Button name="AzerothButton" hidden="true">
						<Size>
							<AbsDimension x="366" y="366"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="593" y="-255"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								SetMapZoom(0);
							</OnClick>
						</Scripts>
						<HighlightTexture name="$parentHighlight" file="Interface\WorldMap\Cosmic\Cosmic-Azeroth-Highlight">
							<Size x="898" y="647"/>
							<Anchors>
								<Anchor point="CENTER">
									<Offset>
										<AbsDimension x="-224" y="104"/>
									</Offset>
								</Anchor>
							</Anchors>
						</HighlightTexture>
					</Button>
				</Frames>
				<Scripts>
					<OnLoad>
						self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
					</OnLoad>
					<OnMouseUp>
						WorldMapButton_OnClick(self, button);
					</OnMouseUp>
					<OnUpdate>
						WorldMapButton_OnUpdate(self, elapsed);
					</OnUpdate>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
				WorldMapFrame_OnLoad(self);
			</OnLoad>
			<OnShow>
				SetupFullscreenScale(self);
				UpdateMicroButtons();
				SetMapToCurrentZone();
				PlaySound("igQuestLogOpen");
				CloseDropDownMenus();
				WorldMapFrame_PingPlayerPosition();
				WorldMap_LoadTextures();
			</OnShow>
			<OnHide>
				UpdateMicroButtons();
				PlaySound("igQuestLogClose");
				WorldMap_ClearTextures();
			</OnHide>
			<OnEvent>
				WorldMapFrame_OnEvent(self, event, ...);
			</OnEvent>
			<OnUpdate>
				RequestBattlefieldPositions();
			</OnUpdate>
			<OnKeyDown>
				local binding = GetBindingFromClick(key)
				if ((binding == "TOGGLEWORLDMAP") or (key == "ESCAPE")) then
					RunBinding("TOGGLEWORLDMAP");
				elseif ( binding == "SCREENSHOT" ) then
					RunBinding("SCREENSHOT");
				elseif ( binding == "MOVIE_RECORDING_STARTSTOP" ) then
					RunBinding("MOVIE_RECORDING_STARTSTOP");
				end
			</OnKeyDown>
		</Scripts>
	</Frame>
	<GameTooltip name="WorldMapTooltip" frameStrata="TOOLTIP" hidden="true" parent="WorldMapFrame" inherits="GameTooltipTemplate">
		<Scripts>
			<OnLoad>
				self:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
				self:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
			</OnLoad>
		</Scripts>
	</GameTooltip>
</Ui>
