POST
|
The exception you're pointing to shouldn't be an issue - this can occur deep down the .NET networking stack when a request gets cancelled, but it should _not_ lead to an application crash. It's merely a first-chance exception, and just how .NET does network requests. Did you by any chance enable that exception in the error-list to break on first chance exceptions of this type? Are you actually seeing an application crash if you just continue? (or run without the debugger attached)
... View more
03-16-2024
03:34 PM
|
0
|
0
|
202
|
POST
|
when i use the project template is working fine i the only think(?) that is different the ".deps.json" is different, in my project the relevant dlls are missing from there(my project is a class library project) Also in my project i have the following <TargetFramework>net8.0-windows10.0.19041.0</TargetFramework> <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> <SupportedOSPlatformVersion>10.0.19041.0</SupportedOSPlatformVersion> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <AppendRuntimeIndentifierToOutputPath>false</AppendRuntimeIndentifierToOutputPath> when i copied the above to the template project it didnt affected the result(worked fine)
... View more
03-09-2024
10:23 PM
|
0
|
0
|
172
|
POST
|
So, after having played around with this some more I have come to the realization that I was approaching the issue from the wrong direction. My thought was to increase the FeatureTable extent after the FeatureTable had been created, but this does not seem to be possible. Rather the extent should be defined when the mobile geodatabase is created. In my case, the geodatabase is created as a replica of a feature layer in ArcGIS online. One step in this process is to define the GenerateGeodatabaseParameters, which I had done using the CreateDefaultGenerateGeodatabaseParametersAsync method with an Envelope parameter. I had defined the Envelope to be the full extent of all the features in the feature layer, because the documentation states that the parameter should be "The extent of the data to be included in the generated geodatabase." But apparently this also sets the Envelope to where new features can be added. Since I want the user to be able to add features anywhere on the map, I changed the Envelope to include basically the entire globe. This resolved the ArcGISRuntimeException I got earlier, and I can now add new features wherever I want on the map. I also now realize that the above is probably exactly what @dotMorten_esri meant in his reply, just that I didn't immediately catch on.
... View more
03-08-2024
03:54 AM
|
0
|
0
|
178
|
POST
|
We're currently experimenting with a code analyzer that'll help remind you to add this call. Would this be helpful?
... View more
02-28-2024
08:59 AM
|
0
|
0
|
309
|
POST
|
Yes please do make this modifiable by the user. I really dislike how fast it zooms out/in and I can't get used to it. My work mouse is also overly sensitive so if it goes one extra click of the wheel I'm at a provincial level when I was just editing a small river boundary. There's really no need since ArcMap isn't/wasn't this way.
... View more
02-26-2024
05:19 AM
|
0
|
0
|
191
|
POST
|
The specific field types the error is referring to are quite new, and we're currently working on adding support for these in the native Maps SDKs.
... View more
02-19-2024
01:15 PM
|
0
|
0
|
133
|
POST
|
You can also parse the CSV and insert it into a local geodatabase, so you only have to convert it once. Here's an example of creating an entire map using a programmatically created geodatabase: https://github.com/Esri/arcgis-maps-sdk-dotnet-demos/blob/main/src/GeometryEditor/MapCreator.cs#L36-L51
... View more
02-08-2024
09:20 AM
|
0
|
0
|
263
|
POST
|
As i promised you. There are a versions which also cause the issue. dotnet --version 8.0.101 dotnet workload list ios 17.0.8478/8.0.100 VS 17.8.34408.163 android 34.0.43/8.0.100 VS 17.8.34408.163 maui-windows 8.0.3/8.0.100 VS 17.8.34408.163 maccatalyst 17.0.8478/8.0.100 VS 17.8.34408.163
... View more
02-01-2024
11:37 PM
|
0
|
0
|
726
|
POST
|
I ran both samples, and I do see the memory increase in both. The second doesn't crash because it runs x64, so there's a lot more headroom to work with. However, I see the memory leveling off somewhere around 1Gb and not climb any longer (without your code that allocates extra memory). I changed the refresh interval to 10s to really push the limit and ran for several hours, and memory did stop climbing (in fact it topped out at 1.2Gb then settled into 1Gb and stayed there). I think what you're really hitting here is that you're loading a lot of data, and constantly refreshing all that data does require some memory to store and process. If you're going to display a significant amount of data and process it, I'd recommend you make sure your application runs as x64, since a 32bit .NET Framework process generally don't like you to exceed 1.2Gb of memory use. With the data and the processing itself required a good gigabyte of memory, it doesn't leave much room for the rest of your application.
... View more
01-25-2024
01:09 PM
|
0
|
0
|
241
|
POST
|
Hi, I hope you've found it by now, but the download is now listed under the new name "ArcGIS Maps SDK for Local Server" along with the wider rebranding of the ArcGIS Runtime SDKs to ArcGIS Maps SDKs for Native Apps. Thanks
... View more
01-25-2024
08:06 AM
|
0
|
0
|
166
|
POST
|
What I do as have a method to log onto the portal. This cannot be done using the ChallangeHandler, you have to do yourself. But this allows having a full portal login to the Portal itself, instead of specific resource protected readonly string ServerUrl = "https://www.arcgis.com/sharing/rest";
//protected readonly string ServerUrl = "https://machine.domain.loc/portal/sharing/rest";
public async Task<ArcGISPortal> OpenPortalAsync(bool refresh = false)
{
try
{
if ( _portal == null )
{
var credential = await AuthenticationManager.Current.GenerateCredentialAsync(new Uri(ServerUrl));
RefreshToken(credential);
AuthenticationManager.Current.AddCredential(credential);
_portal = await ArcGISPortal.CreateAsync(new Uri(ServerUrl));
PortalUser = _portal.User;
ConnectionStatus = ConnectionStatus.Connected;
}
else
{
if ( !refresh ) return _portal;
var token = (TokenCredential)await AuthenticationManager.Current.GetCredentialAsync(
new CredentialRequestInfo { ServiceUri = new Uri(ServerUrl) }, false);
if ( token != null ) await token.RefreshTokenAsync();
}
return _portal;
}
catch (Exception e)
{
_log.Debug(e.Message);
ConnectionStatus = ConnectionStatus.NotConnected;
return null;
}
}
... View more
01-24-2024
10:00 AM
|
1
|
0
|
252
|
POST
|
It's possible, but it isn't something the Maps SDK provides a way to do. You'd have to use some platform APIs to send the navigation details from one device to the other, either via push notifications, server connection, direct socket, bluetooth or something else.
... View more
01-20-2024
08:19 PM
|
0
|
0
|
224
|
POST
|
Thank you for the response. Can you please elaborate? I am not sure I follow this "text symbols are represented with geometries (ie the shape of the characters are converted to polygons)". Are you implying that if a text symbol is converted to a geometry then we can scale it on both axis?
... View more
01-16-2024
03:05 PM
|
0
|
0
|
244
|
Title | Kudos | Posted |
---|---|---|
1 | a week ago | |
1 | 2 weeks ago | |
1 | 08-22-2023 10:32 AM | |
1 | 01-30-2024 01:27 PM | |
1 | 09-05-2017 04:30 PM |
Online Status |
Offline
|
Date Last Visited |
yesterday
|