POST
|
I am editing file geodatabase using edit toolbar. I've writing an extension to listen to edit events. It gives me the new feature with OnChangeFeature. However I am trying to obtain the original feature as well as a log of edits made. I've tried OnStartOperation but IWorkspaceEdit::EditDataChanges some how comes back null for file gdb. I could try to listen to OnSelectionChanged event but sometimes features attributes can be edited without selecting the row. ideas?
... View more
05-28-2014
08:32 PM
|
0
|
0
|
511
|
POST
|
Don, You should set the AutoSave to False and listen to EditEnded instead of BeginSaveEdits. Check out this forum discussion as well.
... View more
09-28-2011
06:17 AM
|
0
|
0
|
218
|
POST
|
David, You could follow this sample. Basically, you create a text symbol like this: TextSymbol textSymbol = new TextSymbol() { FontFamily = new System.Windows.Media.FontFamily("Arial"), Foreground = new System.Windows.Media.SolidColorBrush(Colors.Black), FontSize = 10, Text = <bind it to the graphic's attribute> }; and use it for graphics's symbol property. If you already have polygon symbol added to the existing graphics, you might have to create another graphic using the polygon graphics geometry (or its center map point).
... View more
09-28-2011
05:58 AM
|
0
|
0
|
209
|
POST
|
Hi Eric, I am not sure how you were able to configure popups for a map service url. Usually the popup option only shows up for a layer of the map service i.e. when you have an index at the end of the url.
... View more
09-28-2011
05:29 AM
|
0
|
0
|
843
|
POST
|
The web server only hosts the application which is downloaded by the browser and run by Silverlight plugin in the browser. Actual communication will be between the web browser (of the client machine) and the ArcGIS Server. All the requests will be generated from client machine to ArcGIS Server machine.
... View more
09-22-2011
04:31 AM
|
0
|
0
|
149
|
POST
|
The Overview map doesn't have a way to bind to a custom extent, it automatically picks it up from the map control it is bind to. However, as a way around it, you could use a hidden map control, that does extent calculations from your original map control, on extent changed event handler and you can bind your overview map to that. A little bit tricky but might work. XAML:
<Grid x:Name="LayoutRoot">
<esri:Map x:Name="MyMap" Extent="-13631774.161,4551117.011,-13629848.904,4552046.199" ExtentChanged="MyMap_ExtentChanged">
<esri:ArcGISTiledMapServiceLayer ID="TopoLayer"
Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/>
</esri:Map>
<Grid HorizontalAlignment="Right" VerticalAlignment="Top" Width="300" Height="200" Canvas.ZIndex="100" >
<Border CornerRadius="0,0,0,10" Background="#BB919191">
<esri:OverviewMap x:Name="MyOverviewMap"
Margin="8,0,0,8"
Map="{Binding ElementName=MyMap_Ov}">
<esri:OverviewMap.Layer>
<esri:ArcGISTiledMapServiceLayer ID="StreetLayer"
Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
</esri:OverviewMap.Layer>
</esri:OverviewMap>
</Border>
</Grid>
<esri:Map x:Name="MyMap_Ov">
<esri:ArcGISTiledMapServiceLayer ID="TopoLayer1"
Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/>
</esri:Map>
</Grid>
XAML.CS
private void MyMap_ExtentChanged(object sender, ESRI.ArcGIS.Client.ExtentEventArgs e)
{
MyMap_Ov.Visibility = System.Windows.Visibility.Collapsed;
MyMap_Ov.Extent = MyMap.Extent.Expand(4);
}
... View more
09-20-2011
08:42 AM
|
0
|
0
|
195
|
POST
|
Per the Readme.pdf included in the download, QueryWidget.xml allows you to change the query widget's urls and other parameters.
... View more
09-20-2011
06:14 AM
|
0
|
0
|
370
|
POST
|
Proxied services could mean a lot of things. Can you explain what is that proxy doing? Basic idea would be to have your proxy allow requests from arcgis.com to be directed to the map services. A good test would be to paste your map service url here and see if you get a legend: http://utility.arcgis.com/sharing/tools/legend?soapUrl=&f=html
... View more
09-20-2011
06:08 AM
|
0
|
0
|
281
|
POST
|
If you just want to check whether a layer is visible or not, you could work with ArcGISDynamicMapServiceLayer's VisibleLayers property. This returns an integer array, cast it to IList and use Contains() method to figure out if a specific layer is visible.
... View more
09-20-2011
05:48 AM
|
0
|
0
|
338
|
POST
|
Jerry, The size should follow the row definition size you specified for the grid's third row. I am assuming that it is not set to "*". However, I will be interested in finding out if it doesn't. Secondly, the FeatureDataGrid has no control over adding/removing features, unless you are adding the feature layer in one of the event handlers involved. Please check where and how the dispatch layer is added to the map.
... View more
09-16-2011
05:26 AM
|
0
|
0
|
302
|
POST
|
Jerry, I am not sure what exactly are you looking for. Implementation of FeatureDataGrid is as simple as dropping the tag and binding the map and graphics/feature layer. If you could explain what is buggy or what you are trying to implement, we might be able to address specific questions.
... View more
09-15-2011
01:22 PM
|
0
|
0
|
302
|
POST
|
The AGSAreasAndLengthsParameters Class does allow you to set the areaUnit and lengthUnit. Is that what you are looking for? http://help.arcgis.com/en/arcgismobile/10.0/apis/iOS/2.0/reference/interface_a_g_s_areas_and_lengths_parameters.html
... View more
08-09-2011
05:19 AM
|
0
|
0
|
458
|
POST
|
Please open your map with arcgis explorer online to setup the query: http://help.arcgis.com/en/arcgisexplorer/help/index.html#//015600000042000000
... View more
08-09-2011
04:30 AM
|
0
|
0
|
598
|
POST
|
To set no visible layers, you need to set the array that is passed into setVisibleLayers equal to -1. This works for both 9.x and 10 services. if(visible.length === 0){ visible.push(-1); } layer.setVisibleLayers(visible);
... View more
07-20-2011
10:30 AM
|
0
|
0
|
193
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|