WoW API: GetNumMapLandmarks

From AddOn Studio
Revision as of 22:22, 23 December 2006 by WoWWiki>Starlightblunder ({{wowapi}}, format.)
Jump to navigation Jump to search

WoW API < GetNumMapLandmarks

Returns the number of landmarks on the current world map (Landmarks are those icons showing cities and points of interest)

numLandmarks = GetNumMapLandmarks();

Parameters

Returns

numLandmarks
Number - The number of landmarks on the current world map.

Notes

Information about each landmark can be obtained by using GetMapLandmarkInfo(landmarkIndex).