POST
|
Hello Freddie, Thank you for helping me with this issue: As you say my map service is using different spatial reference ( WKID: 102658 / 2236 ) and my tables are using WKID: 4269 ( GCS NAD83 ). I have to find out the way to set both in the same coordinate system. Thank you.
... View more
08-25-2015
03:54 AM
|
0
|
0
|
1580
|
POST
|
Thank you Fressie, Could you download the zip file from here? Thaks ArcGISAppTest.zip
... View more
08-17-2015
06:17 AM
|
0
|
1
|
1580
|
POST
|
Thank you for your answer. I have create a test project where I try to open a feacture layer after the basemap. How can I upload the zip file? Thank you.
... View more
08-06-2015
10:27 AM
|
0
|
3
|
1580
|
POST
|
Thank you for your help. I am not getting any error loading my layers, the issue is that I don't see my layers bacause the basemap is overlaping or covering them. In the piece of code in my question, I am redering the basemap first and then in the event: MyMapView_Loaded(...) I loading my xxx.geodatabase to get my layers. This piece of code is exactly the same that ESRI distributed in the ArcGIS runtime for .NET sample code: ArcGisRuntimeSDKDotNet_DesktopSamples. Even using their data the layers don't show up. If I comment the xaml: <esri:Map> <!--<esri:ArcGISTiledMapServiceLayer DisplayName="Basemap" ServiceUri="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" />--> </esri:Map> I can see my layers. Thank you.
... View more
07-01-2015
05:50 AM
|
0
|
5
|
1580
|
POST
|
Good Morning, I created my runtime content from ArcMap ( xxxx.geodatabase ). and try to create a desktop application that show my layers, but is look like the ArcGISTiledMapServiceLayer is overlapping my layers and I cannot see them. When I comment the ArcGISTiledMapServiceLa, my layers are showing up. I am using the code that is in the sample that comes with ArcGIS Runtime for .NET and is not working either. Any help will be very apreciated. Below is the code I am using: ( same from example: Feature Layer from Local Database in SRcGisRuntineSDKDotNet_DesktopSample ) <UserControl x:Class="ArcGISRuntimeSDKDotNet_DesktopSamples.Samples.FeatureLayerFromLocalGeodatabase" xmlns:esri="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013"> <Grid> <esri:MapView x:Name="MyMapView" WrapAround="True" Loaded="MyMapView_Loaded" > <esri:Map> <esri:ArcGISTiledMapServiceLayer DisplayName="Basemap" ServiceUri="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" /> </esri:Map> </esri:MapView> </Grid> <UserControl> namespace ArcGISRuntimeSDKDotNet_DesktopSamples.Samples { public partial class FeatureLayerFromLocalGeodatabase : UserControl { private const string GDB_PATH = @"C:\Data\Data.geodatabase"; public FeatureLayerFromLocalGeodatabase() { InitializeComponent(); } private void MyMapView_Loaded(object sender, RoutedEventArgs e) { CreateFeatureLayers(); } private async void CreateFeatureLayers() { try { var gdb = await Geodatabase.OpenAsync(GDB_PATH); Envelope extent = null; foreach (var table in gdb.FeatureTables) { var flayer = new FeatureLayer() { ID = table.Name, DisplayName = table.Name, FeatureTable = table }; if (!Geometry.IsNullOrEmpty(table.ServiceInfo.Extent)) { if (Geometry.IsNullOrEmpty(extent)) extent = table.ServiceInfo.Extent; else extent = extent.Union(table.ServiceInfo.Extent); } MyMapView.Map.Layers.Add(flayer); } await MyMapView.SetViewAsync(extent.Expand(1.10)); } catch (Exception ex) { MessageBox.Show("Error creating feature layer: " + ex.Message, "Samples"); } } } } Thank you JoseLuisCorral
... View more
06-30-2015
10:01 AM
|
0
|
9
|
5440
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|