|
POST
|
Hi, Can you a repro app? Or at least the code where you are: - Creating the Graphics and assigning the Symbols (or Renderer?) - Updating the Symbols of the Graphics What version of the API are you using? Is this WPF or UWP? Thanks Mike
... View more
10-20-2020
09:40 AM
|
0
|
0
|
1463
|
|
POST
|
...but we do recommend you handle the Loaded event to check there were no errors in loading: ILoadable.Loaded Event
... View more
10-20-2020
09:34 AM
|
2
|
0
|
2309
|
|
POST
|
Hi, You could also try applying a mask e.g. async Task AddRasterAndSetBackgroundColorValue()
{
try
{
// Create a raster dataset from a local file raster.
Raster raster = new Raster(@"..\FileRaster.tif");
// Await the Load to catch any errors.
await raster.LoadAsync();
// Create a raster function from the JSON string using the static/Shared method called: RasterFunction.FromJson(json as String)
RasterFunction rasterFunction = RasterFunction.FromJson(jsonFunction);
// Get the raster function arguments
RasterFunctionArguments rasterFunctionArguments = rasterFunction.Arguments;
// Get the list of raster names from the raster function arguments.
IReadOnlyList<string> rasterNames = rasterFunctionArguments.GetRasterNames();
// Set the local file raster as a raster name argument.
rasterFunctionArguments.SetRaster(rasterNames[0], raster);
// Create a new raster based on the raster function.
Raster rasterWithFunction = new Raster(rasterFunction);
// Create a new raster layer from the raster with function applied.
RasterLayer rasterLayer = new RasterLayer(rasterWithFunction);
// Add RasterLayer with function to Map OperationalLayers collection.
Map.OperationalLayers.Add(rasterLayer);
}
catch (Exception ex)
{
}
}
string jsonFunction =
@"{
""raster_function"":{""type"":""Mask_function""},
""raster_function_arguments"":
{
""nodata_values"":{""double_array"":[0],""type"":""Raster_function_variable""},
""nodata_interpretation"":{""nodata_interpretation"":""all"",""type"":""Raster_function_variable""},
""raster"":{""name"":""raster"",""is_raster"":true,""type"":""Raster_function_variable""},
""type"":""Raster_function_arguments""
},
""type"":""Raster_function_template""
}"; Mike
... View more
10-20-2020
09:30 AM
|
2
|
1
|
2382
|
|
POST
|
Callout is a good suggestion from Joe - here is some sample code showing how this can be implemented: arcgis-runtime-samples-dotnet/ShowCallout.xaml.cs at dbdc4452dfe816ad695719d947fb15a3d93d0891 · Esri/arcgis-runtime-samp… Regarding Callouts and Popups: Callouts are simple UI types that can be added over the map and anchored to a coordinate with a leader/tail. Callouts have a configurable components including title, text, and symbol. Popups are part of the ArcGIS information model and can be configured for individual layers (or sublayers) in a map via a popup definition. They can also be used with graphics from graphics overlays and pixels from rasters. Popups are intended to display the data of a feature, graphic or pixel (geo elements) in a way that is easier to understand than basic attributes in a row/column format. Popup sample code: arcgis-runtime-samples-dotnet/ShowPopup.xaml at master · Esri/arcgis-runtime-samples-dotnet · GitHub. Note the PopupViewer is pulled in from the Toolkit (arcgis-toolkit-dotnet/src/Toolkit/Toolkit/UI/Controls/PopupViewer at main · Esri/arcgis-toolkit-dotnet · GitHub). Thanks Mike
... View more
10-19-2020
01:02 PM
|
0
|
0
|
1981
|
|
POST
|
Hi, Are you seeing poor performance with the WmtsLayer (`URL_WMTS`) or the ArcGISTiledLayer (`URL_REST`). If it is the WmtsLayer, please can you share as much of the URL as possible - with some servers such as GeoServer, you may not be pulling from the cache depending on your URL pattern. Thanks Mike
... View more
10-16-2020
09:28 AM
|
0
|
1
|
5020
|
|
POST
|
Hi, From the debug menu please can you try Start Without Debugging (or press Ctrl + F5)? Thanks Mike
... View more
10-15-2020
08:55 AM
|
0
|
3
|
5020
|
|
POST
|
Hi, I have not been able reproduce using the preview Table of Contents control within the Toolkit for ArcGIS Runtime SDK for .NET (arcgis-toolkit-dotnet/TableOfContents.Theme.xaml at main · Esri/arcgis-toolkit-dotnet · GitHub). Can you share the repro code? Thanks Mike
... View more
10-13-2020
11:42 AM
|
0
|
2
|
2909
|
|
POST
|
Hi, What version of the API are you referencing? Thanks Mike
... View more
10-07-2020
03:58 PM
|
0
|
5
|
2909
|
|
POST
|
If you have time, it would be great to know if you see the same error with 100.9 (we did some work in that area in the 100.9 release). Thanks Mike
... View more
10-05-2020
10:52 AM
|
0
|
0
|
4200
|
|
POST
|
Hi Jeremy, Thanks for sharing the call stack. What version are you using? Thanks Mike
... View more
10-05-2020
09:30 AM
|
0
|
2
|
4200
|
|
POST
|
Hi, Can you share a simple repro app? It will useful for us to see what type of UI control the mapview is hosted in e.g. relative layout, frame, etc and how you are handing the forward/backward navigation. Also it will show what versions of UWP, Xamarin Forms, your project references. Finally, in Visual Studio can you go to Help ? About Visual Studio > DxDiag then tap Save All Information to share the system specs (assuming you can repro on you dev machine). Are you able to reproduce with the Samples for Xamarin Forms on UWP? GitHub - Esri/arcgis-runtime-samples-dotnet: Sample code for ArcGIS Runtime SDK for .NET – UWP, WPF, Xamarin.Android, Xa… Thanks Mike
... View more
10-05-2020
08:56 AM
|
0
|
1
|
5104
|
|
POST
|
Hi, Can you share a simple repro app? It will useful for us to see what type of UI control the mapview is hosted in e.g. relative layout, frame, etc and how you are handing the forward/backward navigation. Also it will show what versions of UWP, Xamarin Forms, your project references. Finally, in Visual Studio can you go to Help ? About Visual Studio > DxDiag then tap Save All Information to share the system specs (assuming you can repro on you dev machine). Are you able to reproduce with the Samples for Xamarin Forms on UWP? GitHub - Esri/arcgis-runtime-samples-dotnet: Sample code for ArcGIS Runtime SDK for .NET – UWP, WPF, Xamarin.Android, Xa… Thanks Mike
... View more
10-05-2020
08:56 AM
|
0
|
0
|
5104
|
|
POST
|
Hi, Unfortunately that means your output folder path length is still exceeds 260 characters once the destination path of these LocalServer files is appended. You have two options: 1. Shorten your output path Consider using relative paths in your project to define a shorter output location (either via the Project > Properties dialog > Build tab or directly in the .csproj file e.g. `<OutputPath>..\..\..\..\bin\</OutputPath>`. 2. Disable the automatic deployment of Local Server and use the Deployment Builder GUI - Open the file `ArcGISLocalServer_100.9.AGSDeployment` in your Project folder - Set the top-level ArcGIS Pro node to false `<Package id="Pro" name="ArcGIS Pro Compatible Server" enabled="false">`. - Ensure the top-level ArcMap node is also false `<Package id="ArcMap" name="ArcMap Compatible Server" enabled="false">`. - Note at this point you're now setup for the API to use the SDK installation (in Program Files (x86)) : this can actually be a good approach for everyday development because everything will work and avoids file copies *but* when you're ready to start thinking about building setups/deployments then you definitely want to switch back to using a deployment and you must ensure everything works with the deployment options you have chosen. Read on to use the Deployment Builder GUI... - Open the Deployment Builder GUI (search in Start Menu or go to `C:\Program Files (x86)\ArcGIS SDKs\LocalServer100.9\Tools\DeploymentBuilder.exe`). - Use the GUI to choose your deployment options and create a deployment. - Deployments are typically created in `C:\Users\<username>\Documents\ArcGIS\Runtime Deployments\<deployment_name>`. - Copy the `localserver100.9` folder created by the deployment builder GUI to the same folder as your application exe (for testing/debug). We'll review the approach we're taking and see if there are any opportunities to reduce folder depth / file name length and avoid these path length issues. Thanks Mike
... View more
10-02-2020
10:43 AM
|
1
|
1
|
3499
|
|
POST
|
Hi, If you are using the GP Tool user interface you can specify the result from the drop down menu (see below) or alternatively use the result id string from you current project in Python. Thanks Mike
... View more
09-30-2020
05:56 PM
|
0
|
0
|
7026
|
|
POST
|
...a recently discovered tip: you can use the project property `AppendTargetFrameworkToOutputPath` to remove the target framework moniker from your output path (n this case `netcoreapp3.1`) e.g. `<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>` For a little more info see AppendTargetFrameworkToOutputPath, OutputPath, BaseOutputPath, AppendRuntimeIdentifierToOutputPath · Issue #18190 · dot… Thanks Mike
... View more
09-30-2020
03:24 PM
|
1
|
3
|
3499
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2026 05:04 AM | |
| 1 | 02-20-2024 07:02 AM | |
| 1 | 01-19-2026 06:44 AM | |
| 1 | 12-10-2025 07:16 AM | |
| 1 | 11-21-2025 08:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
07-02-2026
06:07 AM
|