Some questions on ClusterPointStyle

Hello.

I think I have come across a possible builtin solution to my Question 5.
Thanks to a post by @Richard6 it seems that the ClusterPointStyle also has a CustomStyles property and he uses it. Some doco on these things would be great … save a lot of trial and error. :slight_smile:
His post is:
Cluster point style is showing the default and custom styles simultaneously - ThinkGeo UI for Mobile / iOS - ThinkGeo Discussion Forums

So my code is now this:

var pointStyle = new PointStyle(PointSymbolType.Circle, 10, GeoBrushes.BrightRed, new GeoPen(GeoBrushes.White, 2));

var pointStyleCluster = new PointStyle(PointSymbolType.Triangle, 70, GeoBrushes.DarkRed, new GeoPen(GeoBrushes.White, 2));
var textStyleCluster = new TextStyle("FeatureCount", new GeoFont("Segoe UI", 12, DrawingFontStyles.Bold), GeoBrushes.White)
{
	YOffsetInPixel = 1
};
var clusterPointStyle = new ClusterPointStyle(pointStyleCluster, textStyleCluster)
{
	MinimumFeaturesPerCellToCluster = 2,
	CellSize = 1000
};

locationLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Clear();
clusterPointStyle.CustomStyles.Add(pointStyle);
locationLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(clusterPointStyle);
locationLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;

I am on v12 of the NuGets … Xamarin Forms and my current platform is Android.
The behavior I am seeing is close to what I am after and I think/hope the parts that are not are due to bugs.
I have a series of screen shots here and lets refer to my Features as F1, F2 and F3 going from left to right.

Here above all 3 are un-clustered and are showing both styles. I hope this is a bug as I am expecting it to show just the PointStyle which is the red circle.

Here above on next zoom out I think F1 and F2 are being clustered. The cluster point is showing roughly between them. F2 appears gone. Or is F2 simply being clipped by the cluster style? F1 is still showing and I hope that is a bug.

Here above on the next zoom out it appears all three are now clustered (F1, F2 and F3).
Note how the cluster style has moved more to the right to be between all three features.
Note how the F3 is no longer showing on map. F1 is still showing (bug?) and F2 is not showing or is it simply clipped?

Based on this behavior it would seem adding a point style to the CustomStyle property of a ClusterPointStyle is a solution to my Question 5 from my previous post but currently there are some bugs I hope? If you could explain what the CustomStyle property on ClusterPointStyle is for that would be great.

My assumptions are below and please do correct me if they are wrong.

  1. Unclustered features are showing both styles. I think that is a bug and it is meant to show just the set PointStyle.
  2. Once clustered it is using just the ClusterPointStyle but some of the clustered features (F1 and F2) are incorrectly displayed … and correct behavior is how F3 is not shown.

Because the doco appears to not cover my specific needs and quite simple samples (or at least samples not matching my specific needs) I have started to hack around to see what various parts of classes do. Sorry if I am wasting peoples time here.

Cheers
Chris …