|
POST
|
I'm not quite sure what you mean by "oversizing" ? If you zoom to the red polygon below (or its blue extent), the map will zoom to it in such a way that it guarantees the feature will not be blocked by the attribution bar. Example: Are you seeing this not working and the extent you go to is obscured by the attribution? These are called view insets, and it automatically will add the attribution to the inset. You can further add to the insets but setting the GeoView.ViewInsets property to add additional padding. For instance if you have a 200px wide side panel you sometimes have open, when it's open you can add that to the view to ensure when you pan or zoom to a viewpoint, it won't be obscured by the feature: myMapView.ViewInsets = new Thickness((isPanelOpen ? 200 : 0), 0,0,0);
... View more
05-03-2024
09:35 AM
|
0
|
0
|
1284
|
|
POST
|
You're not able to try/catch the exception? Is the exception happening the first time you call StartAsync or on subsequent calls? Do you have a small sample that reproduces the problem?
... View more
04-30-2024
09:10 AM
|
0
|
2
|
2028
|
|
POST
|
I'm a little bit confused about the sample and what you're expecting to happen. For instance I don't see a "SetDimension" method on the view. Second I'm not quite sure why you're calling UpdateLayout - this just forces a XAML layout cycle, but you really shouldn't need to call this. Getting the viewpoint immediately after SetViewpoint likely won't work either, since the rendering thread is separate and will update slightly after - I'd suggest using the ViewpointChanged event to listen for changes to the viewpoint. You could also try using the async version and await the set-viewpoint operation: await SetViewpointAsync(vp); var geom = MapView.GetCurrentViewpoint(ViewpointType.BoundingGeometry); One more thing to consider: When calling SetViewpoint with a bounding geometry, we'll do the best to fix that geometry into the view. If your mapview is a wide landscape view (black box), and the bounding geometry is portrait shaped (red box), we'll fit the geometry to the view around the top and bottom: Similarly if the box is very wide, we'll fit it the other way, again guaranteeing that the geometry you're trying to zoom to is fully visible: That means the box you're passing in won't be the box you get back out, since we have to adjust for the different aspect ratios.
... View more
04-30-2024
09:07 AM
|
1
|
0
|
1831
|
|
POST
|
What service type is your service? Do you have the ArcGIS JSON service descriptor metadata available at that endpoint? Ie what does 'tilesUrl + "?f=json"' return? Or are you using the URL of your vector style sheet? Also see https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Mapping.ArcGISVectorTiledLayer.html
... View more
04-30-2024
08:54 AM
|
0
|
1
|
2468
|
|
POST
|
You can use the ArcGISHttpClientHandler.HttpRequestBegin event to listen for and modify requests. ArcGISHttpClientHandler.HttpRequestBegin += (sender, message) =>
{
if (message.RequestUri.Host == "www.myhost.com")
{
message.Headers.Add("MyTokenHeader", "MyToken");
}
};
... View more
04-30-2024
08:44 AM
|
1
|
0
|
1559
|
|
POST
|
If a sketch is already in progress, the already-running sketch task will get cancelled and throw the Task canceled exception when a new start call is made. You should always handle that exception in your sketch tasks (generally you can ignore it and do any necessary cleanup, since it's often an expected thing to happen).
... View more
04-29-2024
10:48 AM
|
0
|
4
|
2062
|
|
POST
|
> And also if this bug resolution will be included inside older version that works with Xamarin.Forms Note that Microsoft is retiring support for Xamarin.Forms on May 1st (less than one week from now).
... View more
04-25-2024
01:09 PM
|
0
|
0
|
2466
|
|
POST
|
You really shouldn't have to do many changes. As a first step, I'd recommend that you upgrade to 100.15 and get things running there. There shouldn't really be anything other than just changing the version to do that, besides maybe some new minimum system requirements. Next address any obsolete warnings in your build. Anything that was marked obsolete in this build, will have been removed from v200.0. If you have no obsolete warnings left, your move to v200.4 should be pretty smooth, again barring any minimum requirements like minimum supported Windows version or increased .NET version requirements. You can see a list of release notes here: https://developers.arcgis.com/net/release-notes/release-notes-for-200-4/ And click the "prior release notes" in the TOC to go through the history of changes: This only applies to `Esri.ArcGISRuntime`. I don't know the other DLLs you're using.
... View more
04-24-2024
08:31 AM
|
1
|
0
|
1318
|
|
POST
|
It's been a while since I tried that, but if I recall the code to work with the new webview2 was almost identical. There's some good doc here: https://learn.microsoft.com/en-us/microsoft-edge/webview2/get-started/wpf There might also be some app settings you need to set up to better handle high-dpi scenarios, since it looks to me from the screenshot that you might be running with a high scaling factor. See https://learn.microsoft.com/en-us/windows/win32/hidpi/setting-the-default-dpi-awareness-for-a-process
... View more
04-19-2024
07:46 AM
|
0
|
1
|
2628
|
|
POST
|
I get why different maps are secured for different users. That makes total sense. Where I'm a bit confused is a scenario where a user wants to be signed in as multiple different users at the same time, and would just love to understand that a little better, in case there's something we're missing wrt supporting that
... View more
04-19-2024
07:36 AM
|
0
|
0
|
1876
|
|
POST
|
It looks like there's a scaling factor issue at play, comparing to the text size in the browser window behind it. Are you using the newer Webview2 browser? Or the older IE7 based one that is built into WPF?
... View more
04-18-2024
01:20 PM
|
0
|
3
|
2659
|
|
POST
|
The dialog is hosted by the portal you're accessing and as such is just the size of the HTML returned by the server. Generally I'd use a smaller window to host the HTML content to better match the HTML content returned.
... View more
04-18-2024
12:57 PM
|
0
|
1
|
2702
|
|
POST
|
Different credentials for the same host at the same time is not something that the maps sdk supports. I'd be curious about the use-case for this, as we don't expect a user to be multiple different users at the same time.
... View more
04-18-2024
09:13 AM
|
0
|
3
|
1922
|
|
POST
|
This issue has been resolved in the v200.4 release that was just released.
... View more
04-11-2024
09:24 AM
|
1
|
0
|
1242
|
|
POST
|
There's no out-of-the-box way to do this, other than listening for gestures yourself and turn it on-and-off based on that. The IsInteracting property isn't quite what you're looking for either, as it really an internal flag to set some rendering optimizations that originally started around rendering more optimized during certain interactions, but doesn't actually apply to all interactions (like Flick and double-tap-zoom are probably interactions from your point of view, but from our point of view it's actually programmatic animations)
... View more
04-08-2024
09:29 AM
|
0
|
1
|
1392
|
| 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 |
Monday
|