WoW API: GetNumMapLandmarks

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();

ParametersEdit

ReturnsEdit

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

NotesEdit

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