POST
|
Hi, Change index of array: // From
var curClassBreak = newColorizer.ClassBreaks[0];
// To
var curClassBreak = newColorizer.ClassBreaks[i];
... View more
3 weeks ago
|
0
|
1
|
118
|
POST
|
Hi, Adding ResizeMode="NoResize" to ProWindow xaml will hide maximize and minimize buttons and disable windows resizing. <controls:ProWindow x:Class="************"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:controls="clr-namespace:ArcGIS.Desktop.Framework.Controls;assembly=ArcGIS.Desktop.Framework"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:extensions="clr-namespace:ArcGIS.Desktop.Extensions;assembly=ArcGIS.Desktop.Extensions"
mc:Ignorable="d"
Title="Window Title"
ResizeMode="NoResize"
>
... View more
3 weeks ago
|
0
|
2
|
109
|
POST
|
Hi, Magnifier window is simple ProWindow opened as modalless with method Show. ProWindow opened with ShowDialog will be modal. Magnifier sample is here.
... View more
4 weeks ago
|
1
|
2
|
153
|
POST
|
Hi, You have situation similar like in thread. I think BlockGroupGeoPackage.GeoPackageFeatureTables[0] makes a bomb. You need to create object from scratch, because Maps SDK saves somewhere your used objects.
... View more
a month ago
|
0
|
1
|
187
|
POST
|
Hi, You need to subscribe to MapPropertyChangedEvent. EventHints will show Name property
... View more
a month ago
|
1
|
0
|
109
|
POST
|
Try to put mapView.Redraw(true); in another QueuedTask.Run. Sometimes separating MCT threads helps. Or use RedrawAsync method outside QueuedTask.Run which doesn't need MCT thread.
... View more
a month ago
|
0
|
1
|
208
|
POST
|
I think that you need to set TextSymbol property for your created labelClass. // Blue label
CIMLabelClass blueLabelClass = new CIMLabelClass
{
Name = "Blue",
ExpressionTitle = "Expression-Blue",
ExpressionEngine = LabelExpressionEngine.Arcade,
Expression = "$feature.OBJECTID",
ID = 2,
Priority = 0,
Visibility = true,
TextSymbol = new CIMSymbolReference
{
Symbol = new CIMTextSymbol()
{
Angle = 45,
FontType = FontType.Type1,
FontFamilyName = "Consolas",
FontEffects = FontEffects.Normal,
HaloSize = 2.0,
Symbol = new CIMPolygonSymbol
{
SymbolLayers = new CIMSymbolLayer[]
{
new CIMSolidFill
{
Color = CIMColor.CreateRGBColor(0, 0, 255)
}
},
UseRealWorldSymbolSizes = true
}
},
MaxScale = 0,
MinScale = 0,
SymbolName = "TextSymbol-Blue"
},
StandardLabelPlacementProperties = new CIMStandardLabelPlacementProperties
{
AllowOverlappingLabels = true,
LineOffset = 1.0
},
MaplexLabelPlacementProperties = new CIMMaplexLabelPlacementProperties
{
AlignLabelToLineDirection = true,
AvoidPolygonHoles = true
}
};
... View more
a month ago
|
0
|
3
|
231
|
POST
|
Sorry, I am Esri distributor, and I don't know how it is coded inside. You can set LayerCacheType for FeatureLayer.
... View more
a month ago
|
0
|
0
|
175
|
POST
|
Hi, Annotation layers haven't labels. Showing of annotations is organized with sublayers. CIMAnnotationLayer Sublayers property is array of CIMAnnotationSubLayer.
... View more
a month ago
|
0
|
5
|
246
|
POST
|
Hi, You can open featurelayer as table or featureclass from geodatabase object: const string LAYER_ID = "0";
using (Geodatabase geodatabase = new Geodatabase(new ServiceConnectionProperties(new Uri("https://sdkexamples.esri.com/server/rest/services/GrandTeton/FeatureServer")))
using (var table = geodatabase.OpenDataset<Table>(LAYER_ID))
{
} More details in that thread
... View more
06-16-2024
10:24 PM
|
0
|
2
|
258
|
POST
|
Hi, The best way to solve questions like yours is to use CIMViewer. Compile code, run ArcGIS Pro. Open CIMVIewr and select your layer. All settings you will find in CIMViewer. XML tags are same as objects and properties names. In your case you need to set up Label Property of CIMClassBreak . How to work with CIMClassRenderer you can find in ArcGIS Pro community sample GetSymbolSwatch sample
... View more
06-10-2024
12:36 AM
|
0
|
0
|
125
|
POST
|
Hi, There are two similar tools: "Spatial Join" and "Add Spatial Join". They work a little bit different. Try "Add Spatial Join" tool.
... View more
05-30-2024
05:05 AM
|
0
|
0
|
203
|
Title | Kudos | Posted |
---|---|---|
1 | 11-17-2023 02:12 AM | |
1 | 2 weeks ago | |
1 | 3 weeks ago | |
1 | 4 weeks ago | |
1 | a month ago |
Online Status |
Offline
|
Date Last Visited |
Tuesday
|