|
POST
|
When you say "the memory in the background keeps growing and is never released" did you run the memory analysis tool to determine which objects are holding on to it? It is possible something in your navigation backstack is still alive. Also note that the .NET Garbage Collector is pretty indeterministic wrt when it runs, so it might not actually be leaking, but GC just hasn't gotten around to collecting things. You could try running this code 3 times to be absolutely sure that everything that can be collected has been collected: GC.Collect(); GC.WaitForPendingFinalizers(); Just don't do that too often, as it is a blocking/expensive call, but it is useful to determine if something is actually still holding on or not.
... View more
09-01-2021
01:07 PM
|
1
|
0
|
2386
|
|
POST
|
Did you mean S63? Access to S-63 encrypted ENC data in Runtime is only available through .NET on Windows at the moment. An S-63 extension is available upon request - see details here: https://developers.arcgis.com/net/layers/display-electronic-navigational-charts/#access-encrypted-encs
... View more
08-25-2021
02:43 PM
|
0
|
0
|
1031
|
|
POST
|
The first rule you need to be aware of is: A map can only be attached to one MapView at any point in time, but you can move a Map from one MapView to another. So that gives you two choices: 1. Every time you navigate away from a page with a MapView, set its Map property to null to "unhook" it. You could rely on garbage collection and things going out of scope, but it can be pretty non-deterministic, so safer to do it explicitly. You can then assign the map again to a new MapView on a new page. 2. Create one static instance of a MapView. Every time you navigate away from a page, remove the MapView from that page, then insert it on the page you need it on. A custom control that does this for you could make it easier (ie it'll add and remove a MapView inside it based on load/unload of the parent control). Option 1 is simpler and saves you loading the map every time, but requires you to restore other state like Graphics, current viewpoint etc. Option 2 is a bit more advanced, but also saves your from creating and destroying mapviews, restoring mapview state, and also avoids recreating all the MapView rendering resources which can be a bit expensive. Because of this, I've seen option 2 often recommended with many different map UI controls, and the ArcGIS Runtime isn't that different.
... View more
08-24-2021
09:23 AM
|
1
|
1
|
1490
|
|
POST
|
"On top off" only applies to 2D maps and layers draped on to the ground. Once you start rendering in 3D, features closer to the camera will inherently be in front of (and therefore appear to be "on top" of) features that are behind them.
... View more
08-23-2021
09:06 AM
|
0
|
0
|
1289
|
|
POST
|
There is no built-in GeoJson support in the runtime, so you'd need your own parser for GeoJson. The method you're using expects json formatted as FeatureCollection JSON. The link you pointed to above, you can use f=json instead of f=geojson to get the format that runtime uses - however that is the features part of the feature collection json, which is only one part of the json needed for a feature collection (you'd also need the feature set schema which comes from the feature service). The FromJson method you're using is mostly meant to be used together with the ToJson method to store feature collections. Is there a reason you're not using the ServiceFeatureTable class, which will perform all the server rest queries and parsing for you?
... View more
08-23-2021
09:03 AM
|
1
|
0
|
4171
|
|
POST
|
I personally haven't, but I've seen quite a few developers frustrated that they still haven't added .NET Core / .NET 5 support, and judging from the FAQ, it doesn't seem like they plan on doing that either: https://www.crystalreports.com/faq/ So if you plan on using Crystal Reports, you'd be stuck with .NET Framework for now.
... View more
08-20-2021
08:49 AM
|
0
|
0
|
1247
|
|
POST
|
Think of the 100.x release as a completely new product. Everything was rewritten from scratch, so it is much much more than a version change.
... View more
07-28-2021
08:36 AM
|
0
|
0
|
3135
|
|
POST
|
By default it'll use the max scale of your basemap. You can override this by setting the MaxScale property on your Map to something smaller, as well as on any layers you want to keep visible beyond that.
... View more
07-27-2021
09:38 AM
|
0
|
2
|
3152
|
|
POST
|
The mouse wheel event doesn't fire, because the mapview reacts on it. This is pretty typical for routed events in WPF. You can use the Preview* events instead, or choose to subscribe to events regardless of bubbling behavior. However from your scenario, as Mike is saying, use the info from the mapview instead to sync your slider - I'd recommend using the MapScale property to set your slider. You'll probably want to use a Log value of the scale though, since one "notch" on the slider, should double the scale value. > what would I set the min and max values for slider to based on map zoom That is entirely up to you and your map. If your map has min/max scales set, use that, but there's no guarantee there is a min/max.
... View more
07-16-2021
03:28 PM
|
0
|
1
|
4427
|
|
POST
|
I'm assuming you're targeting .NET Core/.NET 5 and not .NET Framework? Unfortunately our documentation doesn't show doc for both (we're actively working on that - stay tuned!), but the property is only available with .NET Framework, since there's now a newer better way to load native libraries dynamically than .NET Framework provided. If you can share your scenario for setting this property, I can help provide you with some equivalent code in .NET Core / NET 5.
... View more
07-12-2021
10:38 AM
|
1
|
1
|
5746
|
|
POST
|
I'm assuming you're using XAML, so add two <Button /> controls to your view, and in their click handlers, call one of the SetViewpoint* operations. For example: mapView.SetViewpointScaleAsync(mapView.MapScale / 2); // Zoom in mapView.SetViewpointScaleAsync(mapView.MapScale * 2); // Zoom out
... View more
07-01-2021
04:24 PM
|
2
|
0
|
2698
|
|
POST
|
> The DLL works fine except I have to pull it out of the NuGet package and then reference it directly. The nuget package does more than just reference that assembly. This is not in any way a supported method. You might be tricking the compiler into compiling things, but it won't run. > I still have to test it to a Linux docker container, hopefully it works there too. It will not. As mentioned this only works on Windows, iOS and Android because those are the only platforms that there are provided native runtimes for. If you're running in a docker container, it does sound like you're trying to use the runtime in a service - if that is the case, be aware this is again not a supported scenario and most likely against the license agreement.
... View more
06-24-2021
09:56 AM
|
0
|
1
|
2531
|
|
POST
|
> DLL, NON-WINDOWS) Only Windows, iOS and Android are supported. To do .NET 5, you'll have to at least target net5.0-windows10.0.18362.0
... View more
06-24-2021
09:22 AM
|
0
|
1
|
2543
|
|
POST
|
MMPK is to simplify packing the entire map which may contain tile packages, vector tile packages, geodatabases, rasters etc. The geodatabase that is inside an mmpk is the same, so no you don't need to move to map packages if you don't need that.
... View more
06-10-2021
05:04 PM
|
1
|
0
|
1771
|
|
POST
|
Your customers will not need to download anything. When you build your application, everything you and your customer will need to run the application will be in the output folder below the \bin\ folder (or wherever you configured your project to output to). The Esri.ArcGISRuntime.dll file isn't enough. There's a lot more in the output folder, and all of it should be deployed to the customer's PC. > Our license with ESRI does not permit us to distribute the ESRI files ourselves. Everything that gets put into that output folder that comes from esri you can distribute.
... View more
06-09-2021
05:37 PM
|
0
|
0
|
1597
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 05-11-2026 07:05 AM | |
| 2 | 03-19-2026 06:03 PM | |
| 1 | 03-03-2026 04:41 PM | |
| 1 | 02-26-2018 07:53 AM | |
| 1 | 02-26-2018 07:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|