<?xml version="1.0"?>
<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="RareScannerMapProvider.lua"/>
  <Script file="RSRarePinMixin.lua"/>
  <Script file="RsWorldMapHooks.lua"/>
  
  <Frame name="RSRarePinTemplate" mixin="RSRarePinMixin" virtual="true">
		<Size>
			<AbsDimension x="18" y="18"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER"/>
		</Anchors>
		<Layers>
			<Layer level="ARTWORK">
				<Texture parentKey="Texture">
					<Anchors>
						<Anchor point="CENTER" x="0" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="HIGHLIGHT">
				<Texture name="$highlightTexture" parentKey="HighlightTexture" alphaMode="ADD">
					<Anchors>
						<Anchor point="TOPLEFT" relativeKey="$parent.Texture"/>
						<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Texture"/>
					</Anchors>
					<Color r="1.0" g="1.0" b="1.0" a="0.4"/>
				</Texture>
			</Layer>
		</Layers>
		<Animations>
			<AnimationGroup parentKey="ShowAnim" looping="REPEAT">
				<Alpha target="$highlightTexture" duration="0.3" fromAlpha="0.2" toAlpha="1" order="1"/>
				<Alpha duration="0.3" fromAlpha="1" toAlpha="0.2" order="2"/>
			</AnimationGroup>
		</Animations>
		<Scripts>
			<OnMouseEnter method="OnMouseEnter"/>
			<OnMouseLeave method="OnMouseLeave"/>
			<OnMouseDown method="OnMouseDown"/>
		</Scripts>
	</Frame>
  
</Ui>