Clustering of Polygons??

2853
1
05-08-2013 09:13 AM
Labels (1)
TalShapiro
New Contributor
Hi,
I have a GraphicsLayer with mixed types of Graphics: Markers, Polygons and Polylines.
When adding a clusterer to the layer I've noticed that Polygons are also affected and clustered together with Markers.
This looks like a bug...
Any insights?

Many thanks!
Tal
0 Kudos
1 Reply
MichaelBranscomb
Esri Frequent Contributor
Hi,

Ideally you should avoid mixing geometry types within a single GraphicsLayer. If you want to serialize the layer to JSON you'll get an exception because the JSON serialization doesn't support mixed geometry types within a single layer.

Cheers

Mike
0 Kudos