POST
|
Hi @JoeHershman, yes as stated in my comment of January I made multiple tests but none of them was succesful.... Have you tried this functionality with a correct behavior? Thanks
... View more
04-11-2021
11:22 PM
|
0
|
0
|
639
|
POST
|
Hi again, as nobody is answering and this is quite a critical issue for us, we are thinking on possible workarounds to fix this bug. Is there any way we can update all the graphics' geometry at the same time instead of modyfing them all one by one? Thanks Regards
... View more
04-08-2021
11:19 PM
|
0
|
4
|
2264
|
POST
|
Hi, I've tested your workaround and it seems to work fine. For us it's enough. Thanks Regards
... View more
04-05-2021
05:43 AM
|
0
|
0
|
712
|
POST
|
Hi, Yes, that's how It should be but that's not working. This is the reason why we raise the case. Thanks
... View more
03-18-2021
09:39 AM
|
0
|
0
|
759
|
POST
|
Hi, Thanks for the answer. We don't want to remove any duplicate, we want to see all the labels all the time,thats why we put: labelBuilder.AppendLine("\"removeDuplicates\": \"none\" ,"); As stated in one of my previous comments. Regards
... View more
03-18-2021
09:28 AM
|
0
|
4
|
2402
|
POST
|
No sorry I do not have it. It should be easy to reproduce it. You just need two GraphicsOverlayCollection with one graphic with geometry of type line. Then you just assign the labels definition that I put above and the error will be reproduced. Hope it can help to detect the error
... View more
03-11-2021
07:22 AM
|
0
|
0
|
2469
|
POST
|
Hi, even after adding this it's behaving it the same way, It seems there's a bug on this. Should I raise it officially? Regards
... View more
03-09-2021
02:16 AM
|
0
|
0
|
2489
|
POST
|
Hi, I'm sorry to say that setting deconflictionStrategy to dynamic is also hiding labels... Any idea on how to fix this?
... View more
03-04-2021
11:45 PM
|
0
|
0
|
2509
|
POST
|
Hi, I'm using following JSON definition for graphics of type line: StringBuilder labelBuilder = new StringBuilder(); labelBuilder.AppendLine("{"); labelBuilder.AppendLine("\"allowOverrun\": true ,"); labelBuilder.AppendLine("\"allowOverlapOfLabel\": \"allow\" ,"); labelBuilder.AppendLine("\"allowOverlapOfFeatureBoundary\": \"allow\" ,"); labelBuilder.AppendLine("\"allowOverlapOfFeatureInterior\": \"allow\" ,"); labelBuilder.AppendLine("\"priority\": 25 ,"); labelBuilder.AppendLine("\"labelExpressionInfo\": {"); labelBuilder.AppendLine("\"expression\": \"return $feature.Name;\"},"); labelBuilder.AppendLine("\"labelPlacement\": \"esriServerLinePlacementCenterAlong\","); labelBuilder.AppendLine("\"multiPart\": \"labelLargest\","); labelBuilder.AppendLine("\"symbol\": {"); labelBuilder.AppendLine("\"color\": [255,255,255,255],"); labelBuilder.AppendLine("\"haloColor\": [51,51,51,255],"); labelBuilder.AppendLine("\"haloSize\": 1.5,"); labelBuilder.AppendLine("\"font\": {\"size\": 10, \"weight\": \"bold\"},"); labelBuilder.AppendLine("\"type\": \"esriTS\"}"); labelBuilder.AppendLine("}"); The problem I have is that even by setting the "allowOverlapOfLabel" value to allow, it is hiding the labels at some zoom levels. I add two screenshots attached from the same mapview making just zoom in and zoom out. I've found that this issue is happening only when the label expression is the same, changing them to have different expressions and then they are always visible as expected. Hope this helps. Appart from this, previously I used this link which was very useful: JSON label class properties—ArcGIS Runtime SDK for .NET | ArcGIS for Developers But it does not exist anymore and now there's no information regarding JSON definitions of labels. Regards Gonzalo
... View more
02-24-2021
04:49 AM
|
0
|
13
|
3331
|
POST
|
Hi sandiegomonedero, we are now using the SetViewpoint method and it has improve the performance of the FollowMode, but now graphics are flashing and sometimes there's a lack on the viewpoint and graphics reposition... Any idea on how to proceed? Our costumer has not accepted still the solution.
... View more
02-10-2021
03:17 AM
|
0
|
6
|
2443
|
IDEA
|
Our client wants to have labels from different graphicsoverlay being overlaped but they want to decide which graphicsoverlay's labels are on top of each other based on priorities. I already post this on a post and checked by a member that this is not developed on the sdk: Label Priority (JSON) not working
... View more
01-28-2021
07:18 AM
|
0
|
1
|
1163
|
POST
|
Hi, Thanks for the answer. Our client wants exactly that, show all the labels even if they overlap but give them priority of visibility based on the graphicsoverlay it belongs. I suppose that this is not possible right now, will this functionality be available in the future? Regards.Gonzalo
... View more
01-28-2021
03:59 AM
|
0
|
1
|
2922
|
POST
|
HI Morten, for low priority graphicsoverlay I use the one on my initial comment. For high priority graphicsoverlay I use the following: labelBuilder.AppendLine("{"); // Define a labeling expression that will show the Name attribute value labelBuilder.AppendLine("\"allowOverrun\": true ,"); labelBuilder.AppendLine("\"allowOverlapOfLabel\": \"allow\" ,"); labelBuilder.AppendLine("\"allowOverlapOfFeatureBoundary\": \"allow\" ,"); labelBuilder.AppendLine("\"allowOverlapOfFeatureInterior\": \"allow\" ,"); labelBuilder.AppendLine("\"priority\": 0,"); labelBuilder.AppendLine("\"labelExpressionInfo\": {"); labelBuilder.AppendLine("\"expression\": \"return $feature.Name;\"},"); // Align label horizontally labelBuilder.AppendLine("\"labelPlacement\": \"esriServerPointLabelPlacementCenterRight\","); labelBuilder.AppendLine("\"multiPart\": \"labelLargest\","); labelBuilder.AppendLine("\"offsetDistance\": \"-10\","); // Set the style for the text symbol labelBuilder.AppendLine("\"symbol\": {"); labelBuilder.AppendLine("\"color\": [255,255,255,255],"); labelBuilder.AppendLine("\"haloColor\": [51,51,51,255],"); labelBuilder.AppendLine("\"haloSize\": 1.5,"); labelBuilder.AppendLine("\"font\": {\"size\": 10, \"weight\": \"bold\"},"); labelBuilder.AppendLine("\"type\": \"esriTS\"}"); labelBuilder.AppendLine("}"); Then I add them to each graphics overlay depending on the priority by adding them to the LabelDefinitions object of them: LabelDefinitions.Add(LabelDefinition.FromJson(JsonCode)); Being JsonCode a string with the definition of the label (the one attached up) Thanks,REgards
... View more
01-22-2021
02:08 AM
|
0
|
0
|
2984
|
Title | Kudos | Posted |
---|---|---|
2 | 02-07-2019 11:21 PM |
Online Status |
Offline
|
Date Last Visited |
04-12-2021
12:58 AM
|