-
MinScale ignored in Release build for iOS
Hello, We noticed in a mmpk we authored with MinScale for one of our layers will correctly show and hide when we are in Debug on the iOS simulator for a mac paired to Visual Studio on Windows. However, when we build for Test Flight as well as run that same paired mac iOS simulator in Release, the layer displays at all…
-
Map lockup on CoreMapView.ViewInsets.set call
Hi, Have been having an issue where customers report the map locking up occasionally, sometimes for several minutes or until they force quit the application. Recently had the map lockup for me during development, so when I paused the debugger I found that it was stuck in a call to CoreMapView.ViewInsets.set It was stuck in…
-
Optimizing Runtime
Is the any recommendations on how to optimize .NET Runtime to run with larger RPF datasets? My app will experience slow down when ingesting large maps.
-
Dot Net Methods to do Spatial Join operations
Hello - I would need some help pointing me to the library methods or the like to achieve the equivalent operation of Esri Spatial Joint geoprocessing tool in ArcGIS Pro 3.5 I have a feature of center-lines network (like streets and highways) then I have a feature layer of points. I was given the radius tolerance of a…
-
Error when adding Portal layer to map (Geodatabase field Not found)
We have a tool in our application that allows adding map layers from many sources. Recently, a customer has asked us to include data from a service they have published to their ArcGIS Server. There are many layers in this service. Most layers load without issue. A few will not load and fail with "Geodatabase field not…
-
IOAuthAuthorizeHandler Throws "Invalid PKCE exception" even though the token request succeeds
Hi, I'm calling OAuthUserCredential.CreateAsync() in a try / catch block. This call gets routed to my own implementation of OAuthAuthorizeHandler.AuthorizeAsync(). From the authorizeUri parameter of AuthorizeAsync(), I can see the SDK passed in a "code_challenge" hash string. But since I don't know the verifier, I have to…
-
Single-file deployment failed
Hi, I built a single-file executable in .NET with the following command for my application using ArcGIS Runtime. dotnet publish -r win-x64 But I can’t run the generated .exe with the following error message: >Hello.exe Unhandled exception. System.TypeInitializationException: The type initializer for…
-
Round Circle MapView
Hi, I need to draw a simple circle on the map and I need it to be perfect round (symmetric) on all places on the map, meaning the projection should not be taken into account. Is it possible? thanks
-
Extent not updated when editing a empty shapefile with ShapefileFeatureTable
Hello, I edited an empty shapefile using ShapefileFeatureTable. However, when I checked the shapefile in QGIS, no geometry was displayed, even though the shapefile actually contains a polygon. It looks like ShapefileFeatureTable does not update the extent of the shapefile, is that correct? Here is the output of ogrinfo: $…
-
Query all ENC features on a single click
I have this code that works well for querying the ENC feature that is clicked on. What I want to do, is be able to display information on every feature that is located at the clicked-on point (common case is you have a buoy with a light, so I want to be able to display the information about the light and the buoy). I would…
-
ArcGIS Maps SDK for .NET – AddRastersParameters.InputFile fails with CSV (works in ArcGIS Pro)
I’m working with ArcGIS Maps SDK for .NET(WPF) to add additional rasters to a mosaic dataset using Spoiler (Highlight to read)await mosaicRaster.AddRastersAsync(addRastersParameters)await mosaicRaster.AddRastersAsync(addRastersParameters)I tried setting InputFile directly to a raster path, but that failed…
-
Do I need ArcGIS Runtime to run a published .NET app on another Windows 11 PC?
Hi, I have a question about application deployment. If I build an app on a Windows 11 PC using the dotnet publish command, can I run it on another Windows 11 PC without installing ArcGIS Runtime? My app is a command-line tool that only reads and edits shapefiles.
-
Using ArcGIS Enterprise SDK Features from .NET Maps SDK
Hi, I'm currently using the .NET Maps SDK. Is there any way to use APIs described in the ArcGIS Enterprise SDK—such as ISpatialReference —within the .NET Maps SDK?
-
Place buttons on map as markers
Hello, I am working on a project that uses the ESRI .Net SDK in WPF. On the map view, I need to place buttons that act as place markers and are interactable. I tried using WPF buttons and mapping them to locations on the map, but performance quickly degrades once a large number of buttons are placed. I need all the…
-
Is it possible to use .NET Maps SDK without an API key?
Hi, I’m new to the .NET Maps SDK I followed a tutorial,and it requires an API key to run the code. My app only loads and converts shapefiles. Do I still need an API key to run it?
-
Issue with Styling Vector Basemaps for offline use
I used the ExportVectorTiles method to create an offline vector tile package. I'm having an issue with a few of the styles and certain fonts. Despite my machine having the corresponding font (as verified manually from the style json), no text is displayed unless I manually modify the font to something generic like Arial…
-
Raster Layer getting cut off at antimeridian line (180/-180 longitude)
I have a georeferenced .tif file that cuts out at the antimeridian line - anything east of 180 longitude gets cut off. I am using an OpenSeaMap basemap with the WebMercator spatial reference. If I don't use a basemap at all, and change to Wgs84 spatial reference, it still gets cut off but at 207 longitude. The file I'm…
-
How to get parent from SubtypeSublayer
Hi, since SubtypeSublayer cannot be queried, Esri suggested querying the parent SubtypeFeatureLayer in answer . Is there a way to get the SubtypeSublayer's parent SubtypeFeatureLayer from the SubtypeSublayer ? SubtypeSublayers in the JavaScript SDK has a parent property doc . But I couldn't find a similar property in the…
-
Ownership Based Access control check fails for admins and layer owners
Editing/deleting features as an admin or layer owner on layers with OBAC fails when using the 200.5/6/7 .NET SDK. I have tested with the JS API and it works fine there. When trying to delete the feature an error is thrown. Here is a screenshot of the issue recreated in the sample app:
-
Reverse Geocoding Not Behaving As Expected In 200.6/ArcGIS Pro 3.4
I have an app using .NET Runtime SDK 200.6 for WPF and a MobileMapPackage with a locator created using ArcGIS Pro 3.4. When I do a reverse geocode on an address point, I'm no longer getting the individual location elements (StPreDir, StName, etc) despite using the following code. var userLocation =…
-
Coordinate Conversion
Hi is there any plans to bring CoordinateConversion widget into WPF ecosystem anytime soon?
-
Projection Issue With Custom Spatial Reference
My app is connecting to a web map where the customer's UN dataset is using a custom spatial reference. The resulting coordinate after projection is off a very small amount causing coincidence/connectivity to not occur. Source: Target: The default datum transformation being returned and used for projection is the following:…
-
Upstream, Downstream, and Isolation Traces don't work properly in an offline map area
Hi, using the 200.5 SDK, we created and downloaded an ad-hoc map area that includes the Naperville water utility network. The map area is a square and covers a portion of the entire utility network. We are also using the UtilityNetworkTraceTool control (https://esri.github.io/arcgis-maps-sdk-dotnet-toolkit/un-trace.html)…
-
Ad-hoc map areas with a utility network are missing features
Hi, we have a feature service (on ArcGIS Enterprise 11.4) that includes features that participate in a utility network (ie. Water Lines, Valves, Junctions etc), and also regular features that don't participate in the utility network (Ie. simple GPS Points). All layers have replica tracking enabled. We followed this…
-
Take a Screenshot of the map LARGER than what's rendered
Hello, I'm currently working with the Esri ArcGIS Maps SDK for .NET in a .NET MAUI application. I need to export an image of the map, and ideally, this image should not be limited to just the visible area on the screen. At the moment, I'm using the following code: await _mapView.ExportImageAsync(); However, this approach…