|
POST
|
I've seen similar behavior in SetViewpointAsync [WPF]: the map will pan to the center of the geometry instead of zooming to it. It happens rarely, and I haven't been able to reproduce it consistently, but it is annoying when it happens.
... View more
09-15-2017
07:16 AM
|
0
|
0
|
1004
|
|
POST
|
Using "esriServerLinePlacementAboveEnd" works for lines, but there's only one available placement for polygons.
... View more
09-12-2017
10:56 AM
|
0
|
0
|
952
|
|
POST
|
I have two layers in a feature service: one polyline and one polygon. The label placements are "esriServerLinePlacementAboveAlong" and "esriServerPolygonPlacementAlwaysHorizontal" respectively. When I create a runtime gdb from the services, the labels look pretty much as expected in 10.2.7. In 100.1, however, I can only see the labels if I zoom in right up to a feature. Is there a different placement I should be using?
... View more
09-08-2017
03:05 PM
|
1
|
1
|
1093
|
|
POST
|
Does your feature service have a corresponding map service: e.g. UES/Field_ESRP (FeatureServer) UES/Field_ESRP (MapServer) If you substitute "MapServer" for "FeatureServer", you will get the correct info. If you don't have a corresponding map service, then your only recourse is to upgrade your ArcGIS Server to 10.5.
... View more
09-08-2017
09:59 AM
|
0
|
0
|
447
|
|
POST
|
There's no need to do any JSON parsing in this case, unless you really want to improve performance. If you don't mind the extra baggage, you can populate a ServiceFeatureTable from the Url of the map service sublayer and get the ArcGISFeatureLayerInfo: private async void GetWebFeatureTypes(string sMapServiceSublayerUrl)
{
ServiceFeatureTable sfTab = new ServiceFeatureTable(new Uri(sMapServiceSublayerUrl));
await sfTab.LoadAsync();
ArcGISFeatureLayerInfo flInfo = sfTab.LayerInfo;
StringBuilder sb = new StringBuilder();
sb.Append("\nType Field: " + flInfo.TypeIdFieldName);
foreach (FeatureType fType in flInfo.FeatureTypes)
sb.Append("\nType " + fType.Id.ToString() + ", '" + fType.Name + "'");
MessageBox.Show(sb.ToString());
}
Of course, you need to grab this information while connected, and store it for the offline session.
... View more
09-08-2017
09:40 AM
|
0
|
2
|
2464
|
|
POST
|
One possible workaround for feature services earlier than 10.5 would be to get the sublayer info from the corresponding map service, which has the subtypes correctly populated. I'm not sure what I can do about the MMPK problem: that may be an ArcGIS Pro bug.
... View more
09-01-2017
03:20 PM
|
2
|
0
|
2464
|
|
POST
|
Update2: I just looked at a feature layer created from a 10.5 feature service, and the subtypes are correctly populated in FeatureTypes. So I would assume that a Runtime GDB created from it would reflect that. However, I looked at a feature layer loaded from an MMPK, and FeatureTypes is based on the symbology, not the subtypes.
... View more
09-01-2017
02:30 PM
|
1
|
1
|
2464
|
|
POST
|
ArcGIS server 10.5 adds subtype support to feature services. I haven't tested one to see if the Runtime GDB has the subtypes.
... View more
09-01-2017
02:10 PM
|
0
|
7
|
2464
|
|
POST
|
Looks like one workaround is to set the velocity to a non-zero number (e.g. 0.1). Of course, that affects which symbol is displayed. [If I set UseCourseSymbolOnMovement to false, the problem persists.]
... View more
08-29-2017
03:27 PM
|
0
|
0
|
1575
|
|
POST
|
I was able to duplicate the problem with your example by setting AutoPan to "Recenter" and horizontal accuracy, speed, and course all to 0.
... View more
08-29-2017
03:06 PM
|
0
|
0
|
1575
|
|
POST
|
I use tasks to help keep the app from locking. Good call on LocationChanged -- I was still thinking in terms of ILocationProvider. Even after renaming it, though, the point display problem persists. Re your example, I tracked it to horizontal accuracy is NaN, which the location constructor doesn't accept. I ran into that problem myself, and substitute 0 on those occasions. I updated the example on my end and it works now.
... View more
08-29-2017
01:22 PM
|
0
|
0
|
1575
|
|
POST
|
Sure thing! Here it is. I looked your 10.2.x sample ages ago, and my 10.2.x version works fine. However, I could not get your 100.x sample to work at all with my puck.
... View more
08-29-2017
07:25 AM
|
0
|
4
|
1575
|
|
POST
|
Not all of my Runtime users have internal GPS yet, and while porting my serial GPS code from 10.2.7 to 100.1, I've noticed an odd quirk. When the location display is first enabled by the application, it doesn't always display the valid locations coming in. Disabling and re-enabling fixes the problem, so as a workaround I added this snippet after the first valid point is collected and sent to the display: _ld.IsEnabled = false;
Thread.Sleep(100);
_ld.IsEnabled = true;
Has anyone else seen this?
... View more
08-28-2017
03:46 PM
|
0
|
6
|
1792
|
|
POST
|
Not true! The REST Map service identify operation works with a general geometry. And it's a much more efficient operation than querying individual sublayers. http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Identify_Map_Service/02r300000113000000/ also: https://developers.arcgis.com/net/10-2/desktop/api-reference//html/T_Esri_ArcGISRuntime_Tasks_Query_IdentifyParameters.htm
... View more
08-24-2017
12:55 PM
|
0
|
1
|
667
|
|
POST
|
The GeoView identify methods are a good start, but limited in that they only allow a screen point and tolerance. Ideally, general geometry types should be supported.
... View more
08-24-2017
12:40 PM
|
0
|
3
|
2560
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-04-2012 06:42 AM | |
| 1 | 09-23-2021 10:42 AM | |
| 2 | 09-28-2021 07:07 AM | |
| 1 | 04-07-2021 10:31 PM | |
| 3 | 03-21-2021 01:14 PM |
| Online Status |
Offline
|
| Date Last Visited |
01-07-2022
08:31 AM
|