Graphic label decluttering?

963
2
04-11-2017 12:03 PM
JohnEricksen
New Contributor II

In our project, we are displaying a variety of labeled images (PictureMarkerSymbols). When more than one of these images are close together the text labels become impossible to read because they overlap. Is there a way to declutter the text in a GraphicOverlay by either repositioning the text or grouping graphics together?

0 Kudos
2 Replies
nita14
by
Regular Contributor

Hi John,

You can try playing with MarkerSymbol| arcgis-java setOffset methods and combine it with TextSymbol| arcgis-java  setHorizontal/VerticalAlignmement methods of TextSymbol.

Hope this helps,

Adam

EricBader
Regular Contributor II

Hi John.

Yes, right now this is quite challenging with the current API. We plan to support label decluttering in a future release, hopefully Update 2 or 3. It is on the roadmap.