AddOn Stud… Editing (section) World of Warcraft API 0 You are not logged in. The rich text editor does not work with JavaScript switched off. Please either enable it in your browser options, or visit your preferences to switch to the old MediaWiki editor === Mapping === These functions are related to display of the world map. :{{id|API|ClickLandmark}}(id) :{{id|API|GetChallengeModeMapInfo}} - Returns details about the challenge mode for an instance map :{{id|API|GetCorpseMapPosition}}() - Returns the position of the corpse on the current world map. :{{id|API|GetCurrentMapContinent}}() - Returns the number of the continent the world map is currently shown. :{{id|API|GetCurrentMapDungeonLevel}}() - Returns which level of a multi-level map is currently shown. :{{id|API|GetNumDungeonMapLevels}}() - Returns the number of levels in the currently shown zone map (0 for none). :{{id|API|GetCurrentMapAreaID}} () - Returns the area id of the current map. :{{id|API|GetCurrentMapZone}}() - Returns the number of the zone the world map is currently showing. :{{id|API|GetMapContinents}}() - Returns the continent names. :{{id|API|GetMapDebugObjectInfo}}(id) :{{id|API|GetMapInfo}}() - Returns the name and size of the current world map. :{{id|API|GetMapLandmarkInfo}}(landmarkIndex) - Returns information about a landmark on the current world map. :{{id|API|GetMapNameByID}}(id) - Returns the localized map name for a given MapID :{{id|API|GetMapOverlayInfo}}(overlayIndex) - Returns information about an overlay on the current world map. :{{id|API|GetMapZones}}(continentIndex) - Returns the zone names of a continent. :{{id|API|GetNumMapDebugObjects}}() :{{id|API|GetNumMapLandmarks}}() - Returns the number of landmarks on the current world map. :{{id|API|GetNumMapOverlays}}() - Returns the number of overlays on the current world map. :{{id|API|GetPlayerMapPosition}}("[[unitId|unit]]") - Returns the position of a unit on the current world map. :{{id|API|ProcessMapClick}}(x,y) - Passes a click to the client, which then calculates if the zone has to be changed. :{{id|API|RequestBattlefieldPositions}}() - Request new data for GetBattlefieldPosition(). :{{id|API|SetDungeonMapLevel}}(level) - Sets which level of a multi-level map (Dalaran, dungeons, etc) is currently shown. :{{id|API|SetMapByID}}(id) - Set map by area id. :{{id|API|SetMapToCurrentZone}}() - Sets the current world map to the zone the player is presently in. :{{id|API|SetMapZoom}}(continentIndex[, zoneIndex]) - Sets the current world map to a specific continent and optionally zone. :{{id|API|SetupFullscreenScale}}() - Configures scale of full-screen views, such as the world map, to best fill screen. :{{id|API|UpdateMapHighlight}}(x,y) - Provides map rollover information for highlighting. :{{id|API|CreateWorldMapArrowFrame}}("frame") - create a arrow cursor for the player position and orientation. :{{id|API|UpdateWorldMapArrowFrames}}() - update the orientation of the arrow cursor based on the current player orientation. :{{id|API|ShowWorldMapArrowFrame}}(bool) - show or hide the arrow representing the player. :{{id|API|PositionWorldMapArrowFrame}}(x,y) - set the position of the arrow representing the player :{{id|API|ZoomOut}}() - "Zooms out" of the current map: going from zone to continent to world view. Loading editor Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above. Insert: – — … ° ≈ ≠ ≤ ≥ ± − × ÷ ← → · § Sign your username: ~~~~ Wiki markup: {{}} | [] [[]] [[Category:]] #REDIRECT [[]] <s></s> <sup></sup> <sub></sub> <code></code> <blockquote></blockquote> <ref></ref> {{Reflist}} <references/> <includeonly></includeonly> <noinclude></noinclude> {{DEFAULTSORT:}} <nowiki></nowiki> <!-- --> <span class="plainlinks"></span> Symbols: ~ | ¡ ¿ † ‡ ↔ ↑ ↓ • ¶ # ¹ ² ³ ½ ⅓ ⅔ ¼ ¾ ⅛ ⅜ ⅝ ⅞ ∞ ‘ “ ’ ” «» ¤ ₳ ฿ ₵ ¢ ₡ ₢ $ ₫ ₯ € ₠ ₣ ƒ ₴ ₭ ₤ ℳ ₥ ₦ № ₧ ₰ £ ៛ ₨ ₪ ৳ ₮ ₩ ¥ ♠ ♣ ♥ ♦ View this template This field is a spam trap. DO NOT fill it in! Edit summary Preview Mobile Desktop Show changes