POST
|
Try adding <UseRidGraph>true</UseRidGraph> to a property group. There's a breaking change in .NET 8 that affects how native assemblies gets deployed (This workaround won't be needed for 200.3)
... View more
11-15-2023
09:13 AM
|
0
|
2
|
747
|
POST
|
Is there a reason you're not using labeling to put the text on the gate? That way there's only one thing to move.
... View more
11-14-2023
03:17 PM
|
0
|
0
|
310
|
POST
|
> I do not have an API key set If you're using the basemap styles from ArcGIS Online you need to set an API Key (judging from your code you are). 100.x still had access to the old services but you should have been getting obsolete warnings for a few releases if you were still using those. In 200 those have been removed. If a map doesn't load, look at the output window for clues. Also good to try an explicit load of the map using "await map.LoadAsync()" which should throw an error if there's an issue.
... View more
11-07-2023
02:19 PM
|
0
|
1
|
380
|
POST
|
Sorry no I don't remember the reason for this. However the geocode task can work with many different services as well as local offline datasets, where each could have different capabilities.
... View more
11-02-2023
01:59 PM
|
0
|
1
|
361
|
POST
|
You don't really need a controller for reacting to events (see my other response). For performing operations on the view, this PR in the works might be of interest: https://github.com/Esri/arcgis-maps-sdk-dotnet-toolkit/pull/528 (you could just pull the controller code and have a play with it until this is in the toolkit)
... View more
11-01-2023
03:00 PM
|
1
|
0
|
801
|
POST
|
The approach is the same you use with any view events - the Maps SDK isn't special in this regard. Depending on which UI framework you use, it's slightly different though. For instance MAUI using the MAUI Community Toolkit you can execute a command from an event: <esri:MapView Map="{Binding Map, Source={StaticResource VM}}">
<esri:MapView.Behaviors>
<mauitoolkit:EventToCommandBehavior EventName="GeoViewTapped"
x:TypeArguments="esri:GeoViewInputEventArgs"
Command="{Binding GeoViewTappedCommand, Source={StaticResource VM}}" />
</esri:MapView.Behaviors>
</esri:MapView> In WPF you can use the Behaviors SDK to do the same thing: <esri:MapView Map="{Binding Map, Source={StaticResource VM}}">
<Behaviors:Interaction.Triggers>
<Behaviors:EventTrigger EventName="GeoViewTapped" >
<Behaviors:InvokeCommandAction Command="{Binding GeoViewTappedCommand, Source={StaticResource VM}}" PassEventArgsToCommand="True" />
</Behaviors:EventTrigger>
</Behaviors:Interaction.Triggers>
</esri:MapView> In WinUI and UWP, you can bind straight to a method in your VM using x:Bind: GeoViewTapped="{x:Bind VM.OnGeoViewTapped}" Prism also offers some documentation on this: - https://prismlibrary.com/docs/wpf/interactivity/event-to-command.html - https://prismlibrary.com/docs/maui/behaviors/eventtocommandbehavior.html
... View more
11-01-2023
02:29 PM
|
1
|
0
|
814
|
POST
|
You need the 200.1 Local Server SDK which you can get from the link you posted above
... View more
11-01-2023
11:28 AM
|
0
|
2
|
300
|
POST
|
> With Xamarin Forms and ArcGIS Runtime 100.x we were able to run the tests using .net 6 using the test explorer. Xamarin.Forms had the same limitation. For .NET 6 it is similar that you need to target net6-windows even with 100.15. That hasn't changed with 200.x. We've frequently asked Microsoft to improve their test framework to better support both WinUI, iOS and Android, because we realize it is limited, and we don't want to maintain our custom test runners any more than you do.
... View more
10-26-2023
01:01 PM
|
0
|
1
|
543
|
POST
|
I've logged https://github.com/xamarin/xamarin-macios/issues/19363
... View more
10-26-2023
12:08 PM
|
1
|
1
|
3086
|
POST
|
I've reproduced the issue. It does appear that the .NET 8 RC2 SDK has introduced a regression and doesn't deploy the native references. The moment I switch back to the .NET 7 SDK things are fine again.
... View more
10-26-2023
11:35 AM
|
0
|
2
|
3093
|
POST
|
One more thing to consider in addition to Thad's suggestions: The map you have loaded might default to a maximum scale that is higher than 5000. You can however easily check that if you try and zoom in with the mouse after: If you're not able to zoom in more, it's because reached the default scale limits of that specific map (you can override it by setting the max scale of the layer limiting it)
... View more
10-25-2023
09:21 AM
|
0
|
0
|
452
|
POST
|
Are you remote-deploying from Windows via a Mac, or with an iPhone connected directly to Windows using Hot Restart? Remote deploy works for me with 200.2 - just note that xcode 15 currently doesn't work due to this issue: https://github.com/xamarin/xamarin-macios/issues/19157 (workaround in issue, or downgrade to xcode 14). v200.3 will have official support for .NET 8.
... View more
10-24-2023
12:04 PM
|
0
|
1
|
3166
|
POST
|
> So at this point in time, it feels like there is no way to run unit tests against a project that uses both MAUI and the ArcGIS Maps SDK. The Maps SDK only ships runtimes for Windows, iOS, Catalyst and Android. You _must_ run the unit tests in the context of these platforms, which means executing the tests in the context of an application (similar to how UWP did, but you can probably get your Windows build run un-packaged to run from commandline - see doc on running unpackaged WinUI apps). When you add the UseMaui bit, I believe it defaults to running the apps as packaged - the command line for executing tests in packaged Windows apps is similar to how you'd run UWP unit tests. We run unit tests daily with maui, and we basically launch an runner-app that runs the tests and reports the results back. This is mostly a home-grown system, since Microsoft still hasn't provided a good OOTB solution for executing unit tests on devices and inside WinUI packaged apps.
... View more
10-23-2023
11:21 AM
|
0
|
0
|
598
|
POST
|
Hi Tomas, Thanks for the detailed callstack. That's really helpful. It looks like there are a few cases where Android could return a NaN value from a pinch zoom gesture, that we aren't guarding against. While I don't have a workaround for you, the above is enough information that we at least can get a fix in for the next release.
... View more
10-05-2023
09:10 AM
|
1
|
0
|
419
|
Title | Kudos | Posted |
---|---|---|
1 | 08-22-2023 10:32 AM | |
1 | 01-30-2024 01:27 PM | |
1 | 09-05-2017 04:30 PM | |
1 | 01-05-2024 03:40 PM | |
1 | 01-08-2024 04:51 PM |
Online Status |
Online
|
Date Last Visited |
9 hours ago
|