Select to view content in your preferred language

FlareClusterer only work for WGS84(4326) ?

802
2
Jump to solution
01-25-2013 06:01 PM
YaohuiLi
New Contributor
hi

I used FlareClusterer to cluster graphics in GraphicsLayer in 4326, it work fine.

recently, I use GaphicsLayer to show something in other spatial reference, not 4326,

and i found that if i set the FlareClusterer to Clusterer of GraphicsLayer, everything disappeared,

and all the Geometry of Graphics in GraphicsLayer been set to null.

I have a CustomGraphicsClusterer class inherit from GraphicsClusterer,

and i found that graphics parameter in ClusterGraphicsAsync always empty.

Someone can tell me what happened? How to fix it?
0 Kudos
1 Solution

Accepted Solutions
DominiqueBroux
Esri Frequent Contributor
Seems to be a bug in version 2.4. It's working well with 2.2, 2.3, 3.0, 3.1 versions but not with 2.4.

In 2.4, the workaround is to set the SpatialReference of the map points and of the map extent. With these initializations it's working well.

View solution in original post

0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
Seems to be a bug in version 2.4. It's working well with 2.2, 2.3, 3.0, 3.1 versions but not with 2.4.

In 2.4, the workaround is to set the SpatialReference of the map points and of the map extent. With these initializations it's working well.
0 Kudos
YaohuiLi
New Contributor
Seems to be a bug in version 2.4. It's working well with 2.2, 2.3, 3.0, 3.1 versions but not with 2.4.

In 2.4, the workaround is to set the SpatialReference of the map points and of the map extent. With these initializations it's working well.


yes. it's working well.

thanks so much.
0 Kudos