Astrolabe/API CalculateMinimapIconPositions
From Esamynn's Wiki
Astrolabe ยป Astrolabe/API CalculateMinimapIconPositions
Performs a full update on all icons whose position is currently being managed by Astrolabe.
Astrolabe:CalculateMinimapIconPositions( reset )
[edit]
Arguments
- reset
- boolean - forces the update to be started from the beginning if one is already in progress (users of Astrolabe should never need to use this)
[edit]
Returns
- result
- Number - 0 if the update completed successfully, -1 if the update did not occur for some reason, 1 if the update was started, but did not complete
[edit]
Details
This function requires more CPU time than the incremental update done by UpdateMinimapIconPositions() because it updates each icon, with a full position calculation based on the current player position and the icon's stored world map location.

