I am creating a layer with 100 points randomly places around Vegas. I am using the ClusterPointStyle from the sample. I’m getting very strange behavior. Sometimes when I zoom in, the cluster disappears completely, and as I zoom in, some of my points are disappearing (all the clusters don’t add up to 100)
Here is the code I use to generate the 100 points:
for
(
int
i = 0; i < 100; i++)
{
double
latitude = 36.12 + (_random.Next(100) / 10000f - 0.0001);
double
longitude = -115.17 + (_random.Next(100) / 10000f - 0.001);
Feature dot =
new
Feature(
new
PointShape(longitude, latitude));
pointLayer.InternalFeatures.Add(dot);
}
I am using the OsmWorldMapKitLayer with the Vegas map. Is this a bug?