Suppose I have a virtual earth shape layer called shapeLayer1
(my creative energy is apparently at an alltime low).
When i call the GetClusteredShapes
method I get an array of VEClusterSpecification
objects that represent each and every one of my currently visible clusters; no problem there. But when I call the GetClusterShape()
method it returns null... null! Why on earth would it do that? I used firebug to confirm that the private variable of the VEClusterSpecification
that's supposed to hold a reference to the shape is indeed null so it's not the method that's causing the problem.
Some have suggested that this is actually documented behavior
Returns null if a VEClusterSpecification object was returned from the VEShapeLayer.GetClusteredShapes Method
But looking at the current MSDN documentation for the VEShape class it says:
Returns if a VEClusterSpecification object was returned from the VEShapeLayer.GetClusteredShapes Method
Is this a bug or a feature? Is there any known workarounds or (if it is a bug) some plan on when they are going to fix it?