-
LoadError: {"A null pointer: Invalid raster function"} While applying raster functions to an image service
public static async Task<Raster> ApplyRasterForService(string rasterID, string theJSON_String, Raster currentRaster = null) { //RasterLayer rasterLayer = null; Raster raster = null; try { if (rasterID.Contains("Layout")) { rasterID = rasterID.Replace("_Layout", ""); } if…
-
Convert Polyline to Geodetic in old ArcGISRuntime 10.2.5 WPF
DensityGeodetic() under ArcGISRUntime Map SDK for .NET is so easy to use to create a geodesic line from polyline. Unfortunately I have to work on ArcGISRUntime 10.2.5 WPF. Is there a similar method call? It is very hard to find the info on 10.2.5 WPF. Thank you.
-
Voice Guidance for more custom Text from Route result
Is there a way to add/convert more voice guidance from our text at given locations along street segment? We have a spray truck and spray lines. Then I have a route result from VRP program. I was able to add more custom text/info to “Display Text” field in *DirectionPoints layer, at certain locations along a route based on…
-
Has something changed with licensing / API key? Maps don't show even on sample code
Howdy, I've been building an app for a few years now and it has been utilizing the older versions of the Windows WPF SDK up until recently. In changing some code in the model view over to use the newer BasemapStyle model, my map shows no detail - only a black screen. I've gone as far as downloading the sample apps and…
-
AreasandLengths Function versus GeometryEngine Area and Length
Can someone explain me the differences between the AreasandLengths function in WPF versus Area and Length. I get close but different answers using the two and comparing results. I'm setting the units to Foot.
-
Symbol blending modes
Hi, Is there a way to specify the blending mode of symbols drawn on a layer? Something equivalent to * GL_FUNC_ADD: The source and destination colors are added to each other. O = sS + dD. The The s and d are blending parameters that are multiplied into each of S and D before the addition. * GL_FUNC_SUBTRACT: Subtracts the…
-
Texture Filtering options
Hi, What is the equivalent of GL_NEAREST and GL_LINEAR for ArcGis? If GL_NEAREST is used, then the implementation will select the texel nearest the texture coordinate; this is commonly called "point sampling". If GL_LINEAR is used, the implementation will perform a weighted linear blend between the nearest adjacent…
-
Graphic data source.
MyMapView.LocationDisplay.DataSource = new RouteTrackerDisplayLocationService(simulatedDataSource, _tracker); i want give RouteTrackerDisplayLocationService to my graphic.And i can do it.Graphic dont have data source property.How can i do this?
-
Detect road in arcgis wpf
I want add 3 graphic to map.The problem is that I will place the graphics at random, and I just want these graphics to fall on the road. Not on the houses. Is it possible for me to determine the roads?
-
Is it possible to run 10.2.7 and 100.X runtimes in the same app? Assembly redirect?
I have a large enterprise application that some forms and functions are dependent upon ArcGIS SDK WPF 10.2.7, while we are taking time to migrate those to 100.x . Is it possible to run 100.X in the same application as 10.2.7, so we can create some new forms with the 100.x runtime, while we slowly migrate legacy functions…
-
Stylus.IsPressAndHoldEnabled does not generate Right-Click on MapView.
Ladies and Gentlemen, I am looking for a solution to the following scenario regarding Touch Gestures on a Map View to generate a "Right-Click" mouse event... I am using ArcGISRuntime100.5 to create a User Control in WPF. This control has been under development for a couple of years now but was initially designed to only…
-
Extract the coordinates of polyline
I would like to extract the coordinates of polyline one by one later. Is there a way? here is my Code foreach (CableGPSInfo gpsinfo in StaticCommon.CableGPSInfoList) { string[] gps = gpsinfo.GPS.Split(';'); double[] mappoint = new double[2]; Dictionary<double, double> posdic = new Dictionary<double, double>(); foreach…
-
Can't zoom out on raster layer
Dear Gurus! I would like to implement zoom out on map which contains raster layer. I created simple program to check this option, but can't understand how to do it. So, here is my code: public partial class MainWindow : Window { MapView _mapView = null; public MainWindow() { InitializeComponent(); _mapView = MyMapView; try…
-
Use WPF UserControl in windows forms application (c#)
I am trying to add a WPF user control in a form of a windows forms application and I have a run time issue in the user control constructor in the InitializeComponent method of MapView Control System.Windows.Markup.XamlParseException: ''The invocation of the constructor on type 'Esri.ArcGISRuntime.UI.Controls.MapView' that…
-
Access an organisational basemap with user credentials in WPF
I want to display a basemap which s hosted in an organisation network locally by using user credentials under the organisation domain. How can I do this with C#.net using ArcGIS Runtime? Normally I know I can use with, _map = new Map(new Uri(BaseMapUrl)); But What if it is accesible only with credentials? Where i will…
-
Dynamic deconflicting label placement not working as expected in 100.9
We are creating a .NET WPF desktop application with ArcGIS Runtime 100.9. Our customer has point objects stored in a no-geodatabase oracle db. The coordinates of these points are stored as double values in x and y columns. To display them we create graphic objects. That works well. The problem is the labeling. Because…
-
Offline local file layers under lite license
Hi, how can i know which offline local file layers are available under the Lite license and would using the Basic license increase the amount of available local file layers to use? currently i've only been able to use ArcGISTiledLayer (loading TPK file) and MobileMapPackage (loading MMPK).
-
Is there a way to configure ArcGis Runtime to log errors
Is there any way to put the runtime in trace mode with extensive logging ? My WPF application which uses the .net SDK v 100.6 is crashing, and I am not able to obtain any useful information about this from Visual Studio.
-
PictureFillSymbol only supports tiled, how do we do this in the 100.x runtime?
PictureFillSymbol only supports tiled, how do we do this in the 100.x runtime?
-
Load an ArcGIS Vector Tiled Layer from a URL
.net core 3.1 Wpf application use Esri.ArcGISRuntime.WPF v100.7.0., tries to view vector tile from own tile server, but nothing displays. my code: ArcGISVectorTiledLayer vectorTiledLayer = new ArcGISVectorTiledLayer(uri); var basemap = new Basemap(vectorTiledLayer); Map map = new Map(basemap); MapView.Map = map; Similar…
-
WPF OAuth Stay Logged In
I want to have the user stay logged in on application close. I'm using OAuth to log the user in and working with v100.8.0. The AllowSaveCredentials option shown in the OAuth .NET Guide seems to be the key, but I think it may not be available on WPF. I can't see Esri.ArcGISRuntime.Toolkit.Security, even with the Toolkit…
-
GeoPackage is closed
I'm having an issue loading a GeoPackage FeatureLayers on to the map but returns an error saying the package is an illegal state and package is closed. The raster layer loads with out any issues.
-
Offline MMPK Support for Utility Network
Hello, I was hoping to get an update on support for offline MMPKs from the Utility Network. We've got a couple of projects we're working on that would really benefit from this support. Thanks, Mike...
-
Display KML Data
Hi, how can I display KML data (from a String/Byte[]/Stream) in a map? I found examples to load KML data from an URL or file, but I want to do it in memory without network access. Thanks Alexander
-
Pan using mouse roller button in arcgis runtime
Is there a simple way to get the middle mouse button to act as pan in ArcGIS Runtime? Similar to the way ArcGIS Desktop works. Pressing on the mouse roller allows panning the map. This would be a useful capability as typically the left mouse button is used for selecting and during the selection process, sometimes, the…