POST
|
Hello, A problem occured when I call the ServiceFeatureTable.LoadStatusChanged, It would not raise the event, var serviceTable = new ServiceFeatureTable(new Uri("")) { FeatureRequestMode = FeatureRequestMode.ManualCache }; s erviceTable .LoadStatusChanged += s erviceTable _LoadStatusChanged; CurrentMap.Tables.Add( s erviceTable );
... View more
01-14-2019
07:28 PM
|
0
|
0
|
25
|
POST
|
Hello, A problem occured when I call the ServiceFeatureTable.LoadStatusChanged, It would not raise the event, var serviceTable = new ServiceFeatureTable(new Uri("")) { FeatureRequestMode = FeatureRequestMode.ManualCache }; s erviceTable .LoadStatusChanged += s erviceTable _LoadStatusChanged; CurrentMap.Tables.Add( s erviceTable );
... View more
01-14-2019
07:28 PM
|
0
|
1
|
30
|
POST
|
Hi, Saliegh, Yes, I remember that if the input geometry has too much rings it would get exception
... View more
11-19-2018
05:54 PM
|
0
|
2
|
26
|
POST
|
May I know what have you disable/uninstall something important that the direct3d needed to run?
... View more
07-11-2018
02:54 AM
|
0
|
0
|
51
|
POST
|
I have a demo with to TabItem, switch TabItem change the MapView parent, if switching very quick the map will be disapear will be blank, the demo is attached, our project change the MapView like this demo have the same issue.
... View more
06-27-2018
12:28 AM
|
0
|
2
|
451
|
POST
|
Hi Jennifer I set EditConfiguration property`RequireSelectionBeforeDrag` to false, and it's the same, I have to tap the outline and highlight it then I can move the polygon by drag the outline other than the polygon area
... View more
03-07-2018
10:24 PM
|
0
|
1
|
37
|
POST
|
Hi, maybe the codes is a bit confusing, I change the codes like below and it will be more clearly. var geoBeforeEdit = feature . Geometry ; var editGeometry = await mapControlView . SketchEditor . StartAsync ( feature . Geometry ) ; feature . Geometry = editGeometry ; await feature . FeatureTable . UpdateFeatureAsync ( feature ) ; await ( feature . FeatureTable as ServiceFeatureTable ) . ApplyEditsAsync ( ) ; bool isSuccess = //do something else..... if ( ! isSuccess ) { feature . Geometry = geoBeforeEdit ; await feature . FeatureTable . UpdateFeatureAsync ( feature ) ; await ( feature . FeatureTable as ServiceFeatureTable ) . ApplyEditsAsync ( ) ; }
... View more
09-18-2017
12:37 AM
|
0
|
0
|
9
|
POST
|
Hi, I want to rollback an Edit since last UpdateFeatureAsync an ApplyEditsAsync(just geometry), so I give the feature the old geometry then UpdateFeatureAsync an ApplyEditsAsync, but it seems can't apply to server database the second time and with no EditResults(count=0) return, Below is my codes var geoBeforeEdit = feature . Geometry ; var editGeometry = await mapControlView . SketchEditor . StartAsync ( feature . Geometry ) ; feature . Geometry = editGeometry ; await feature . FeatureTable . UpdateFeatureAsync ( feature ) ; IReadOnlyList < EditResult > editResults = await ( feature . FeatureTable as ServiceFeatureTable ) . ApplyEditsAsync ( ) ; if ( editResults . Any ( r = > r . CompletedWithErrors == true ) ) { XHNotifyIcon . ShowFancyBalloon ( editResults . Where ( r = > r . CompletedWithErrors == true ) . Aggregate ( string . Empty , ( current , o ) = > "Edit to Object '" + o . ObjectId + "' failed: " + o . Error . Message + "\n\r" ) ) ; return false ; } bool isSuccess = //do something else..... if ( ! isSuccess ) { feature . Geometry = geoBeforeEdit ; await feature . FeatureTable . UpdateFeatureAsync ( feature ) ; IReadOnlyList < EditResult > editResults = await ( feature . FeatureTable as ServiceFeatureTable ) . ApplyEditsAsync ( ) ; if ( editResults . Any ( r = > r . CompletedWithErrors == true ) ) { XHNotifyIcon . ShowFancyBalloon ( editResults . Where ( r = > r . CompletedWithErrors == true ) . Aggregate ( string . Empty , ( current , o ) = > "Edit to Object '" + o . ObjectId + "' failed: " + o . Error . Message + "\n\r" ) ) ; return false ; } }
... View more
09-16-2017
09:01 PM
|
0
|
2
|
201
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
08:11 PM
|