|
POST
|
Thanks for helpful comments @PreetiMaske . I subscribed to `MapView.LayerViewStateChanged` and get error #7003 on vector tiled layer view state changing. Could you help me please with error code meaning?
... View more
06-27-2024
01:04 AM
|
0
|
0
|
2400
|
|
POST
|
Hi, There is a ArcGIS Pro community sample with MapControl inside UserControl. OverviewMapControl sample is here. It works fine on ArcGIS Pro 3.2
... View more
06-26-2024
01:43 PM
|
0
|
1
|
3501
|
|
POST
|
Hi, "conversion.ExportTable" geoprocessing tool has 3 mandatory parameters. One is missed in your parameters list (use_field_alias_as_name). I would recommend to call ExecuteToolAsync with GP events processing (callback) as in thread. In OnValidate event you will get information about wrong parameters and etc. More info here
... View more
06-26-2024
01:25 AM
|
0
|
3
|
1740
|
|
POST
|
Hi, We have application with offline content (vtpk). We use vptk packages as basemap. It works fine on Android but on iOS doesn't (blank screen). I have tried different vector tile packages, but only with one of them I succeeded. It was in different coordinate system (WGS 1984 Web Mercator) then our application packages. Our application packages spatial reference wkid is 3346. Another one difference is that working package was created later and maybe with different software versions because we migrate application from AppStudio code to ArcGIS Maps for .NET MAUI. Code below: ArcGISVectorTiledLayer layer = new ArcGISVectorTiledLayer(new Uri(tileCachePath));
_map = new Map(SpatialReference.Create(3346))
{
Basemap = new Basemap(layer),
MinScale = 8000000,
MaxScale = 1200
};
_map.LoadStatusChanged += OnMapsLoadStatusChanged;
private void OnMapsLoadStatusChanged(object sender, LoadStatusEventArgs e)
{
switch(e.Status)
{
case LoadStatus.Loading:
Logger.Debug($"Map's load status : {e.Status}");
break;
case LoadStatus.Loaded:
_map.InitialViewpoint = new Viewpoint(new MapPoint(499629.435, 6124677.283, SpatialReference.Create(3346)), 7500000);
break;
case LoadStatus.FailedToLoad:
Logger.Error($"Map's load status : {e.Status}");
break;
}
} Map and viewpoint spatial reference were changed depending on vtpk source. Any help would be appreciated.
... View more
06-26-2024
01:08 AM
|
0
|
7
|
2489
|
|
POST
|
Hi, Change index of array: // From
var curClassBreak = newColorizer.ClassBreaks[0];
// To
var curClassBreak = newColorizer.ClassBreaks[i];
... View more
06-24-2024
10:40 PM
|
0
|
1
|
1384
|
|
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
06-24-2024
11:06 AM
|
0
|
2
|
1628
|
|
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
06-21-2024
12:22 PM
|
1
|
2
|
2200
|
|
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
06-19-2024
01:05 PM
|
0
|
1
|
2285
|
|
POST
|
Hi, You need to subscribe to MapPropertyChangedEvent. EventHints will show Name property
... View more
06-19-2024
12:57 PM
|
1
|
0
|
989
|
|
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
06-19-2024
01:17 AM
|
0
|
1
|
2331
|
|
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
06-18-2024
11:48 AM
|
0
|
3
|
2354
|
|
POST
|
Sorry, I am Esri distributor, and I don't know how it is coded inside. You can set LayerCacheType for FeatureLayer.
... View more
06-17-2024
11:45 PM
|
0
|
0
|
1760
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 1 | 06-30-2026 10:14 PM | |
| 1 | 06-30-2026 01:43 PM | |
| 2 | 04-24-2026 08:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|