API GetNumMapLandmarks

From Warcraft Wiki
Jump to navigation Jump to search

Returns the number of landmarks on the currently-shown map.

numLandmarks = GetNumMapLandmarks()

Returns

numLandmarks
Number - The number of landmarks on the currently-shown map.

Details

  • Landmarks are icons showing cities and other points of interest.
  • Information about each landmark can be obtained by using GetMapLandmarkInfo.