POST
|
The error message says: Invalid request response: Cannot load vtpk from '/var/mobile/Containers/Data/Application/7171FE95-8F47-43D7-AC3C-2332C3EC3670/Documents/waterways/offlinecache/************.vtpk'. Message was: IO error. Package was created with ArcGIS Pro, but I don't know which version. I will send you vtpk url for testing.
... View more
Thursday
|
0
|
0
|
57
|
POST
|
Hi, ArcGIS Pro has its own MapControl which you could add to ProWindow or CustomControl. There are some samples with MapControl in ArcGIS Pro SDK community samples page OverviewMapControl, MagnifierWindow and MapControl.
... View more
Thursday
|
0
|
0
|
71
|
POST
|
Hi, Are you talking about either project or application settings? If yes, you can check Backstage_PropertyPage sample.
... View more
Thursday
|
1
|
0
|
25
|
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
Thursday
|
0
|
0
|
85
|
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
Wednesday
|
0
|
1
|
124
|
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
Wednesday
|
0
|
1
|
53
|
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
Wednesday
|
0
|
5
|
174
|
POST
|
Hi, Change index of array: // From
var curClassBreak = newColorizer.ClassBreaks[0];
// To
var curClassBreak = newColorizer.ClassBreaks[i];
... View more
Monday
|
0
|
1
|
44
|
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
Monday
|
0
|
1
|
65
|
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
a week ago
|
1
|
1
|
80
|
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
2 weeks ago
|
0
|
1
|
129
|
POST
|
Hi, You need to subscribe to MapPropertyChangedEvent. EventHints will show Name property
... View more
2 weeks ago
|
1
|
0
|
69
|
Title | Kudos | Posted |
---|---|---|
1 | Thursday | |
1 | a week ago | |
1 | 2 weeks ago | |
1 | a week ago | |
1 | 05-28-2024 12:06 AM |
Online Status |
Offline
|
Date Last Visited |
Friday
|