Returns the number of landmarks on the world map. Possible landmarks include PvP objectives (both in battlegrounds and in world PvP areas), town and city markers on continent maps, and special markers such as those used during the Scourge Invasion world event. Some landmarks (such as those for towns on a zone map) exist but are not visible in the default UI.


See also Map functions.

Signature:

numLandmarks = GetNumMapLandmarks()

Returns:

  • numLandmarks - The number of landmarks on the current world map (number)