POST
|
Hi, I Define LabelDefinition for ArcGISMapImageSublayer after the ArcGISMapImagelayer loaded, but the labels don't show, the field is to be labeld is "name" private async void ArcGISMapImageLayer_LoadStatusChanged(object sender, LoadStatusEventArgs e) { var lyr = sender as ArcGISMapImageLayer; if (e.Status == LoadStatus.Loaded) { var subLyr = lyr.Sublayers[1] as ArcGISMapImageSublayer; await subLyr.LoadAsync(); subLyr.LabelDefinitions.Add(LabelDefinition.FromJson("{\"labelExpression\": \"[name]\",\"labelPlacement\": \"esriServerPolygonPlacementAlwaysHorizontal\",\"symbol\": {\"color\": [255,0,255,123],\"font\": {\"size\": 16},\"type\": \"esriTS\"}}")); } }
... View more
07-24-2017
06:29 PM
|
0
|
10
|
1913
|
POST
|
Hi, Jens I try to set ArcGISMapImageSublayer.LabelsEnabled to true, but labels still don't show.
... View more
07-19-2017
06:12 AM
|
0
|
0
|
659
|
POST
|
Hi, I Define LabelDefinition for ArcGISMapImageSublayer after the ArcGISMapImagelayer loaded, but the labels don't show, the field is to be labeld is "name" private async void ArcGISMapImageLayer_LoadStatusChanged(object sender, LoadStatusEventArgs e) { var lyr = sender as ArcGISMapImageLayer; if (e.Status == LoadStatus.Loaded) { var subLyr = lyr.Sublayers[1] as ArcGISMapImageSublayer; await subLyr.LoadAsync(); subLyr.LabelDefinitions.Add(LabelDefinition.FromJson("{\"labelExpression\": \"[name]\",\"labelPlacement\": \"esriServerPolygonPlacementAlwaysHorizontal\",\"symbol\": {\"color\": [255,0,255,123],\"font\": {\"size\": 16},\"type\": \"esriTS\"}}")); } }
... View more
07-19-2017
02:06 AM
|
0
|
5
|
1082
|
POST
|
Hi Joe indeed if with point is no need to drag to chang position, but if geometry is the line or polygon you still have to select the line or outline(which will be highlighted) first then drag by holding outline to chang position, and this is less convienient than in 10.2.7
... View more
07-06-2017
07:24 AM
|
0
|
0
|
729
|
POST
|
I still think in the new releases runtime version graphic(actually geometry) created by SketchEditor is harder to drag to move(have to select outline first and drag by holding outline), though in 10.2.7 the way to drag may cause other edit but I think it is more convienient to move geometry.
... View more
07-06-2017
06:21 AM
|
0
|
5
|
1550
|
POST
|
Hi Greg After upgrate to 100.1, the sample do works in the way as I describe in question, but if you switch tab quickly the mapview will be white with no map in view
... View more
07-05-2017
06:02 PM
|
0
|
0
|
382
|
POST
|
Hi, I notice that in 100.1 Release notes the LabelDefinition is a new function, and can only be created by using a Json, but I don't know how to denfine the Json, Could you help to offer a sample Json for creating LabelDefinition?
... View more
07-05-2017
02:07 AM
|
0
|
1
|
1013
|
POST
|
Hi, I have meet a problem, We use SingleInstance mode in our project, when do some interactions in current module and then switch to other modules, the map is likely to be locked and deadly, can't be navigate and interact with the map. In the attached sample codes, selects features and then tab to another do some interactions, the map will is likely to be locked and unoperational.(tab switch in left-up) sample codes are attached, will you please help to test my codes and if any solution to solve this please do let me know. Thanks in advance
... View more
06-29-2017
02:22 AM
|
0
|
2
|
765
|
POST
|
Hi, Nagma Could you plz check my latest(singleinstance) asked question?
... View more
06-22-2017
07:38 PM
|
0
|
0
|
1132
|
POST
|
Hi, Jennifer Could you plz check my latest(singleinstance) asked question? Thanks
... View more
06-22-2017
07:37 PM
|
0
|
0
|
1124
|
POST
|
Hi, Antti I change the username and password to mine and run, it will also catch the "Token Required" exception.
... View more
06-22-2017
04:20 AM
|
0
|
2
|
214
|
POST
|
Hi, we have meet a terrible problem, We use SingleInstance mode in our project, when do some interactions in current module and then switch to other modules, the map is likely to be locked and deadly, can't be navigate and interact with the map. In the attached sample codes, selects features using SketchCreationMode.Rectangle and then tab to another do some interactions, the map will is likely to be locked and unoperational. sample codes are less the packages folder beacuse of the attach size limit, will you please test my codes and if any solution to solve this please do let us know. Thanks
... View more
06-22-2017
12:33 AM
|
0
|
2
|
729
|
Title | Kudos | Posted |
---|---|---|
1 | 08-21-2017 06:00 AM | |
1 | 05-31-2017 07:14 PM |
Online Status |
Offline
|
Date Last Visited |
02-19-2024
01:23 AM
|