Version

GetBuckets Method

Groups visible items into relevant buckets, based on the viewport size and resolution.
Syntax
'Declaration
 
Protected Overridable Function GetBuckets( _
   ByVal viewportRect As Rect, _
   ByVal visibleItems As List(Of Integer), _
   ByVal resolution As Double, _
   ByVal itemLocations As IList(Of Point) _
) As Dictionary(Of Integer,MarkerManagerBucket)

Parameters

viewportRect
The Viewport in context.
visibleItems
A list of the indices of all visible markers.
resolution
The Resolution in context.
itemLocations
A list of the locations of all markers.

Return Value

A Dictionary containing the buckets.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also