|
POST
|
Hi, I use ArcGIS Runtime for Net with Xamarin. Legend or LayerLegend controls work fine on UWP, but does not work correctly on Android. I can see layers in my application, but all features from all operational layers are hided. If I comment in xaml legend part I can see all features. When I add operational layer I set each layer to be visible in legend and visible itself. I do not know is it possible to get checkboxes for visibility in legend controls. Maybe all my layer are invisible?
... View more
08-24-2018
03:57 AM
|
0
|
7
|
4354
|
|
POST
|
Hi Evan, You could use Visual Studio "Create GUID" tool (from Tools-Create GUID) to generate new GUID and replace existing one.
... View more
08-24-2018
03:37 AM
|
2
|
0
|
2212
|
|
POST
|
Hi all, I have tested ArcGIS Pro 2.2 beta and found that ApplySymbologyFromLayer still not works. My workaround does not work on ArcGIS Pro 2.2 too. So I registered Case number: 02133585. It is registered as bug. When it will be fixed I do not know. I think it depends how many developers have problems with it. So we need to increase importance of that functionality by registering your own cases.
... View more
07-04-2018
10:42 PM
|
2
|
0
|
6341
|
|
POST
|
Hi Nattawut, Can you use IUnknownPtr in your application? If no, check is comdef.h is included in your project
... View more
07-03-2018
04:14 AM
|
0
|
1
|
1877
|
|
POST
|
Hi Brian, I have not read carefully your question. I thought that you asking about Project properties. Application properties you can access using : BackStage_PropertyPage.Properties.Settings settings = BackStage_PropertyPage.Properties.Settings.Default; bool bGeneral = settings.GeneralSetting; It works from add-in button in the same project.
... View more
06-27-2018
11:50 PM
|
0
|
0
|
1320
|
|
POST
|
Hi Brian, Open settings module class file (in BackStage_PropertyPage sample Module1.cs) and find internal Dictionary<string, string> Settings Replace internal with public Add reference of settings module to your tool project if it separate project. From your other tool find module with settings: Module1 modOwner = Module1.Current; Use module Settings property to access your settings: modOwner.Settings.
... View more
06-26-2018
11:58 PM
|
1
|
2
|
1320
|
|
POST
|
Hi Michael, You can use IDataGraphT object to show your object as graph. It will work for one object only. You need to create a table on hard disk with min 2 column for X and Y axis information. X axis could be distance between vertexes, Y axis - your measurements. Now you are ready to create template with ArcMap View->Graphs->Create Graph. When you have template, you are ready to use it as legend for your graph created from code. From your code you need to create the same structure table as described above. It could be created in scratch workspace. Fill table with information about your polyline object.
... View more
04-23-2018
11:52 PM
|
1
|
2
|
1148
|
|
POST
|
Hi, The problem will be with ESRIRegASM.exe.config file. It is located in the same folder as ESRIRegASM.exe. Open it and check binding redirection part of ArcGIS libraries. It must be like this: <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="ESRI.ArcGIS.ADF.Local" culture="" publicKeyToken="8fc3cc631e44ad86"/> <bindingRedirect oldVersion="9.3.0.0-10.5.1.0" newVersion="10.6.0.0"/> </dependentAssembly> </assemblyBinding>
... View more
03-12-2018
01:47 AM
|
1
|
0
|
990
|
|
POST
|
Hi Chris, You need to use CreateChainedOperation() if you want to do additional editing in the same operation. More info you will find here: https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Editing
... View more
03-04-2018
10:57 PM
|
0
|
0
|
1273
|
|
POST
|
Hi Rene, You can use spatial filter on MCT thread: // execute the select on the MCT QueuedTask.Run(() => { foreach(FeatureLayer pItem in pointLayers) { // define the spatial query filter var spatialQuery = new SpatialQueryFilter() { FilterGeometry = geometry, SpatialRelationship = SpatialRelationship.Contains }; // gather the selection var pointSelection = pItem.Select(spatialQuery); } } If you want to do selection from the tool then you need to override OnSketchCompleteAsync event protected override Task<bool> OnSketchCompleteAsync(Geometry geometry) { } and add code above inside.
... View more
02-27-2018
12:02 AM
|
0
|
1
|
5884
|
|
POST
|
Hi, Have you tried ITransactions interface? It works without StartEditing fine on big quantities data with file or personal geodatabases. I have not tried it on SDE
... View more
02-20-2018
12:11 AM
|
0
|
0
|
1929
|
|
POST
|
Hi, You can make property in your module class to set combo box. On startup you need from combo box class to set that property to combo box itself. When you need to update combo box content you will find your module and read combobox property and call "UpdateCombo" method. public class MyModule : Module { private static MyModule _this = null; private MyComboBox _combo = null; internal MyModule() { _this = this; } /// <summary> /// Retrieve the singleton instance to this module here /// </summary> public static MyModule Current { get { return _this ?? (_this = (MyModule)FrameworkApplication.FindModule("My_Module")); } } public MyComboBox PolygonCombo { get { return _combo; } set { _combo = value; _combo.UpdateCombo(); } } } public class MyComboBox : ComboBox { /// <summary> /// Constructor to initialize the ComboBox /// </summary> public MyComboBox() { MyModule modOwner = MyModule.Current; if (modOwner == null) return; modOwner.PolygonCombo = this; } } Another way is to use some kind of messaging. I use that approach in my applications: https://stackoverflow.com/questions/23798425/wpf-mvvm-communication-between-view-model
... View more
02-12-2018
01:08 AM
|
2
|
2
|
1912
|
|
POST
|
Hi, I have attached printscreen of Tableviewpane and Add field button structure. More detailed information you can find using tools described earlier.
... View more
02-08-2018
05:03 AM
|
0
|
0
|
3999
|
|
POST
|
Hi, You can use WPF Snoop or WPF Inspector to inspect ESRI styling. You will find which WPF objects ESRI uses and what are property values, events and etc. The same situation was with Docking panel tab controls. You can find more info on another thread.
... View more
02-07-2018
04:39 AM
|
0
|
0
|
3999
|
|
POST
|
Hi Mitch, You need to use QueuedTask.Run. https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-MapAuthoring
... View more
02-05-2018
01:18 AM
|
2
|
0
|
5786
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Tuesday | |
| 1 | Tuesday | |
| 2 | 04-24-2026 08:33 AM | |
| 1 | 03-23-2026 11:44 AM | |
| 1 | 05-22-2024 11:48 PM |
| Online Status |
Online
|
| Date Last Visited |
Tuesday
|