POST
|
Trouble loading feature layer in code behind. This is in runtime 10.2.7. In XAML I define my base map as.. <esri:Map> <esri:ArcGISTiledMapServiceLayer ServiceUri="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" /> This map layer reports Spatial Reference: 102100 (3857) Then in the code behind, i try to load the feature layer.. string endpoint = "http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/0"; Uri featUri = new Uri(endpoint); var gdbServiceFeatureTable = await ServiceFeatureTable.OpenAsync(featUri); gdbServiceFeatureTable.OutFields = Esri.ArcGISRuntime.Tasks.Query.OutFields.All; FeatureLayer fl = new FeatureLayer(gdbServiceFeatureTable) { ID = endpoint }; MyMapView.Map.Layers.Add(fl); This map layer reports Spatial Reference: Spatial Reference: 4326 Nothing is visible in the map. However, if I add this layer via XAML, it is visible. Any help would be appreciated. thanks, joe
... View more
04-20-2017
11:04 AM
|
0
|
2
|
780
|
POST
|
For a view shed geoprocessing Task there is an input parameter "OffsetA" that is in the "Fields" list of a GPFeatureRecordSetLayer, is there any example of setting this in C#? So far I have: var inputPoint = await MyMapView.Editor.RequestPointAsync(); GPFeatureRecordSetLayer gp = new GPFeatureRecordSetLayer("Input_Observation_Point", inputPoint); thanks, Parameter: Input_Observation_Point Data Type: GPFeatureRecordSetLayer Display Name Input_Observation_Point Description: The input location from which the viewshed should be calculated. Direction: esriGPParameterDirectionInput Default Value: Geometry Type: esriGeometryPoint HasZ: false HasM: false Spatial Reference: 54003 (54003) Fields: :black_medium_small_square: OBJECTID ( type: esriFieldTypeOID , alias: OBJECTID ) :black_medium_small_square: OffsetA ( type: esriFieldTypeSmallInteger , alias: OffsetA ) Features: None.
... View more
04-19-2016
01:48 PM
|
0
|
0
|
1968
|
POST
|
Im trying to access an online kmz resource from SAGE https://sageearth.northcom.mil/index_d.html . In google earth when you add the kmz a credential dialog pops up allowing the user to enter his information. From the ESRI runtime samples you can log in to a secured esri server but i dont see a way to log into a third party one such as SAGE. Any help would be greatly appreciated.
... View more
10-07-2015
07:12 AM
|
0
|
0
|
2953
|
POST
|
As it turns out the map pack in the 10.2.5 examples only has a boundary extent of the eastern U.S. That means any data you try to view with it (in the scene view for some reason) is only visible on the east coast. Once we created a map package with a boundary extent covering the entire world the geotif loaded correctly.
... View more
09-17-2015
02:28 PM
|
0
|
0
|
421
|
POST
|
As it turns out the map pack in the 10.2.5 examples only has a boundary extent of the eastern U.S. That means any data you try to view with it (in the scene view for some reason) is only visible on the east coast. Once we created a map package with a boundary extent covering the entire world the geotif loaded correctly. thanks for trying to help out..
... View more
09-17-2015
02:24 PM
|
0
|
0
|
393
|
POST
|
Hi Martin, Have you tried Using the 10.2.6 sdk samples from here.. https://github.com/Esri/arcgis-runtime-samples-dotnet and running the Layers->Dynamic Service Layers->Dynamic Add Data example it works for the mapview but not the 3d SceneView. I have a ticket in for the scene problem.. joe
... View more
08-21-2015
08:42 AM
|
0
|
0
|
421
|
POST
|
Thanks Adrien, ill give that a try and a vote for adding it in the next version..
... View more
07-30-2015
11:46 AM
|
0
|
0
|
468
|
POST
|
Is there a similar method disabling map movement for sceneview as there is for mapview? for mapview the "InteractionOptions" property allows you to disable pan, zoom, rotation. However, in the sceneview the only possible property i found, "IsManipulationEnabed", doesnt seem to have any effect on users ability to move the map. thanks, joe
... View more
07-28-2015
06:10 AM
|
0
|
2
|
3048
|
POST
|
Im trying to load a geotif to the new Scene View 3d map for .net desktop using the same workflow as with the 2d Map View. When i do, there are no obvious errors but the geotif is not visible on the globe. The work flow im using is the same as the sdk 10.2.5 examples.. Create local map service with the mpk (from the examples), create a ArcGISDynamicMapServiceLayer and add it to my Layers. Any help would be greatly appreciated. Thanks, Joe
... View more
07-27-2015
10:11 AM
|
0
|
2
|
3032
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|