WoW API: GetNumMapLandmarks

Revision as of 04:46, 15 August 2023 by Move page script (talk) (Move page script moved page API GetNumMapLandmarks to API GetNumMapLandmarks without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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).