POST
|
Not sure if that will give me what I need but I cannot seem to attach a handler to MapView #if IOS
.ConfigureMauiHandlers(handlers =>
{
handlers.AddHandler<Esri.ArcGISRuntime.Maui.MapView, MyMapViewHandler>();
handlers.AddHandler<ContentPage, ContentPageHandler>();
})
#endif I have this added in but the MyMapViewHandler never connects public class MyMapViewHandler : Esri.ArcGISRuntime.Maui.Handlers.MapViewHandler
{
protected MapView MapView => VirtualView as MapView;
protected override void ConnectHandler(Esri.ArcGISRuntime.UI.Controls.MapView nativeView)
{
base.ConnectHandler(nativeView);
//Still do not see a long press on nativeView
}
}
... View more
Wednesday
|
0
|
0
|
80
|
POST
|
I am looking at the swift SDK. And it looks like swift has events that do not exist in .net. Which would seem how Field Maps is able to handle these behaviors
... View more
Wednesday
|
0
|
1
|
108
|
POST
|
I want the magnifier. I want to be able to have the magnifier, let the user 'drop' at the location of the magnifier and somehow my app gets a notification that action (and location) occurred
... View more
Wednesday
|
0
|
1
|
116
|
POST
|
If one does a GeoViewHolding on the map a magnifier pops up. In FieldMaps that gets handled and implements the Dropped pin behavior. I am trying to implement something similar but I cannot see what event is triggered after the magnifier appears and the user releases. The SDK seems to already be implementing the behavior for the magnifier, but what event handler does one implement to capture the release
... View more
Monday
|
0
|
8
|
185
|
POST
|
I have tried using an upgrade to 200.7 and it still gives me the same issue. If I am logged in to ArcGIS Enterprise it will go into the ChallengeHandler with this Url: https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer when the search bar is loaded. Entering credentials does nothing, it just loops through the ChallengeHandler over and over until I cancel and then there is no address search I think we have things setup correct in ArcGIS Enterprise, but if there is a guide that shows specifics I would be happy to review. We are able to do an address search from a WebMap
... View more
3 weeks ago
|
0
|
0
|
201
|
IDEA
|
Yes absolutely. The idea that only the owner can create an offline area makes no sense. At lease allow other administrators, or have a special share around this. This makes using the entire offline area approach incredibly difficult.
... View more
3 weeks ago
|
0
|
0
|
56
|
POST
|
I am working through some other issues that have prevented us from upgrading
... View more
05-06-2025
09:28 AM
|
0
|
0
|
338
|
POST
|
I setup the AGO World Geocoder using am admin user on the AGOL side. I setup (and shared) but if my user connects or other ArcGIS Enterprise admin users we are seeing the issue
... View more
05-06-2025
09:27 AM
|
0
|
0
|
338
|
POST
|
I apologize for being unclear. I am not using an ApiKey if the user logs on. If they log in to ArcGIS Enterprise I do not set an ApiKey. When a user connects using this approach, when the Map opens with the SearchView an authentication is requested (i.e., ChallengeHandler invoked). The ServiceUri in the challenge is for the Geocoding Url. I did try using an ApiKey when the user does not log in via OAuth (SAML). Search works fine in this scenario. The user of course cannot sync, but search works fine because layer searches are offline and the ApiKey works for Geocoding Url.
... View more
05-06-2025
08:16 AM
|
0
|
2
|
356
|
POST
|
Hi, I am really struggling with how one can use the SearchView in the toolkit on an ArcGIS Enterprise 11.1 portal. I am still at 200.6 for Mobile API and Toolkit. The problem is that the authentication does not seem to recognize that a logged in user can use location services. I have set in Portal the Configure utility services to use a AGOL user (user is a Creator/Admin). I can use the search in a web map and do a location search which works. However, when I open the map with the SearchView it will prompt for a login. If I try to enter my portal user, it will fail and ask again. I have logging so I can see that it is the geocode service Url that is requesting authentication. But it does not recognize the portal user as having permission. This makes the SearchView unusable. I have developed logic to read the Web Map configuration and create and add ISearchSource objects for each layer. Which works really well, but this permission to use locator is making it not useable as a search tool
... View more
05-05-2025
04:51 PM
|
0
|
7
|
403
|
POST
|
After upgrading to 200.7 I am having issues with authentication. I basically now going to a non-stop loop of being asked to login. Logging shows it is the same exact service that is being requested in the ChallengeHandler. My 200.6 version of the app works as expected My process is to use the await ArcGISPortal.CreateAsync(new Uri(_portalUrl), true); to log into Portal. In 200.6 that is all that is required and then other services load properly. In 2007 I connect to the portal, I can see valid tokens in AuthenticationManager, but if I try to query a layer I am presented with the authentication dialog over and over
... View more
04-18-2025
12:01 PM
|
0
|
0
|
192
|
POST
|
Ran a clean and deleted bin/obj folders. Deleted the app from device also. Everything is now running with 200.7. Also, have the new barcode scan working with FeatureForm in the 200.7 toolkit
... View more
04-16-2025
12:37 PM
|
1
|
0
|
225
|
POST
|
Doing a little more debugging and I get this before the error listed above System.DllNotFoundException: __Internal
at RuntimeCoreNet.GeneratedWrappers.CoreGeoView.get_ImageOverlays()
at Esri.ArcGISRuntime.UI.Controls.GeoView.Initialize(CoreGeoView geoView)
at Esri.ArcGISRuntime.UI.Controls.GeoView..ctor(CoreGeoView geoView)
at Esri.ArcGISRuntime.UI.Controls.MapView..ctor()
at Esri.ArcGISRuntime.Maui.Handlers.MapViewHandler.CreatePlatformView()
... View more
04-15-2025
01:16 PM
|
0
|
1
|
300
|
POST
|
I just upgraded my app to use 200.7 and now when I try to load MapView it crashes. I am looking through getting started, don't see anything I need to change. I have been using net9.0 for a while on the 200.6 release System.InvalidOperationException: Unable to convert Esri.ArcGISRuntime.Maui.MapView to UIKit.UIView
at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view)
at Microsoft.Maui.ElementHandlerExtensions.ToPlatform(IElementHandler elementHandler)
at Microsoft.Maui.ViewHandlerExtensions.GetDesiredSizeFromHandler(IViewHandler viewHandler, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Handlers.ViewHandler`2[[Esri.ArcGISRuntime.Maui.IMapView, Esri.ArcGISRuntime.Maui, Version=200.7.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86],[Esri.ArcGISRuntime.UI.Controls.MapView, Esri.ArcGISRuntime.iOS, Version=200.7.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86]].GetDesiredSize(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Layouts.LayoutExtensions.ComputeDesiredSize(IView view, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Controls.VisualElement.MeasureOverride(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IView.Measure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Layouts.GridLayoutManager.GridStructure.MeasureCell(Cell cell, Double width, Double height)
at Microsoft.Maui.Layouts.GridLayoutManager.GridStructure.FirstMeasurePass()
at Microsoft.Maui.Layouts.GridLayoutManager.GridStructure.MeasureCells()
at Microsoft.Maui.Layouts.GridLayoutManager.GridStructure..ctor(IGridLayout grid, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Layouts.GridLayoutManager.Measure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Controls.Layout.CrossPlatformMeasure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Platform.MauiView.CrossPlatformMeasure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Platform.MauiView.SizeThatFits(CGSize size)
at Microsoft.Maui.ViewHandlerExtensions.GetDesiredSizeFromHandler(IViewHandler viewHandler, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].GetDesiredSize(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Layouts.LayoutExtensions.ComputeDesiredSize(IView view, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Controls.VisualElement.MeasureOverride(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IView.Measure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Layouts.LayoutExtensions.MeasureContent(IContentView contentView, Thickness inset, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Layouts.LayoutExtensions.MeasureContent(IContentView contentView, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Controls.TemplatedView.Microsoft.Maui.ICrossPlatformLayout.CrossPlatformMeasure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Platform.MauiView.CrossPlatformMeasure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Platform.MauiView.SizeThatFits(CGSize size)
at Microsoft.Maui.ViewHandlerExtensions.GetDesiredSizeFromHandler(IViewHandler viewHandler, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].GetDesiredSize(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Layouts.LayoutExtensions.ComputeDesiredSize(IView view, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Controls.TemplatedView.MeasureOverride(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Controls.Compatibility.Layout.Microsoft.Maui.IView.Measure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Layouts.LayoutExtensions.MeasureContent(IContentView contentView, Thickness inset, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Layouts.LayoutExtensions.MeasureContent(IContentView contentView, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Controls.TemplatedView.Microsoft.Maui.ICrossPlatformLayout.CrossPlatformMeasure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Platform.MauiView.CrossPlatformMeasure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Platform.MauiView.SizeThatFits(CGSize size)
at Microsoft.Maui.ViewHandlerExtensions.GetDesiredSizeFromHandler(IViewHandler viewHandler, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].GetDesiredSize(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Layouts.LayoutExtensions.ComputeDesiredSize(IView view, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Controls.TemplatedView.MeasureOverride(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Controls.Compatibility.Layout.Microsoft.Maui.IView.Measure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Layouts.GridLayoutManager.GridStructure.MeasureCell(Cell cell, Double width, Double height)
at Microsoft.Maui.Layouts.GridLayoutManager.GridStructure.SecondMeasurePass()
at Microsoft.Maui.Layouts.GridLayoutManager.GridStructure.MeasureCells()
at Microsoft.Maui.Layouts.GridLayoutManager.GridStructure..ctor(IGridLayout grid, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Layouts.GridLayoutManager.Measure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Controls.Layout.CrossPlatformMeasure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Platform.MauiView.CrossPlatformMeasure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Platform.MauiView.SizeThatFits(CGSize size)
at Microsoft.Maui.ViewHandlerExtensions.GetDesiredSizeFromHandler(IViewHandler viewHandler, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].GetDesiredSize(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Layouts.LayoutExtensions.ComputeDesiredSize(IView view, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Controls.VisualElement.MeasureOverride(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IView.Measure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Layouts.LayoutExtensions.MeasureContent(IContentView contentView, Thickness inset, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Layouts.LayoutExtensions.MeasureContent(IContentView contentView, Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Controls.ContentPage.Microsoft.Maui.ICrossPlatformLayout.CrossPlatformMeasure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Platform.MauiView.CrossPlatformMeasure(Double widthConstraint, Double heightConstraint)
at Microsoft.Maui.Platform.MauiView.LayoutSubviews()
at Microsoft.Maui.Platform.ContentView.LayoutSubviews()
at Microsoft.Maui.Platform.ContentView.__Registrar_Callbacks__.callback_844_Microsoft_Maui_Platform_ContentView_LayoutSubviews(IntPtr pobj, IntPtr sel, IntPtr* exception_gchandle)
... View more
04-15-2025
12:59 PM
|
0
|
3
|
311
|
POST
|
Follow-up: In the documentation it indicates a property called EnableAutomaticConfiguration. However, it does not appear this property is implemented at this point (or even actually created).. it is in help, but I do not see it in code
... View more
04-08-2025
08:54 AM
|
0
|
0
|
191
|
Title | Kudos | Posted |
---|---|---|
1 | 04-16-2025 12:37 PM | |
1 | 03-18-2025 12:17 PM | |
1 | 12-24-2024 08:41 PM | |
1 | 12-25-2024 01:48 PM | |
1 | 01-24-2024 10:00 AM |
Online Status |
Offline
|
Date Last Visited |
Thursday
|