Comments (5)
Hi!
Thanks for your response! I've found a fix for this and raised a PR here!
- Yes. I'm also seeing the same behavior in the WinUI project. The same sample does not exist for other frameworks like Maui.
- I'm seeing the same behavior in the app downloaded from the Microsoft Store and in the cloned repository.
- Debug | Any CPU
- I've actually tested this on 2 machines with the same behavior. The machines have Windows 11 and Windows 11 Arm respectively.
The issue was that the offline file name in the code did not match the actual file name being downloaded from the resource in the link. The name of the file in the resource link is AIS_MarineCadastre_SelectedVessels_CustomDataSource.jsonl
, whereas the code has the file name as AIS_MarineCadastre_SelectedVessels_CustomDataSource.json
, with the wrong file extension.
It's interesting that you are not seeing this behavior on your machine. My hypothesis would be that the link initially hosted the file name with the json
extension, which was later changed to the jsonl
. You might have had the file downloaded before this change was made, and the app was not redownloading the file. Could you please check what file you currently have on your PC, and if deleting it and prompting the app to redownload the file reproduces this behavior? The file is located at C:\Users\{UserName}\AppData\Local\ArcGISSampleData\a8a942c228af4fac96baa78ad60f511f
if it makes it easier.
I'm happy to make any modifications to the PR if required!
P.S.: Sorry about my delayed response, I had limited access to my machine.
from arcgis-maps-sdk-dotnet-samples.
@tejabalu thank you for the detailed response and triage! I am now able to reproduce on all platforms. Just so you know, we do offer this sample in .NET MAUI. Looking at the PR now.
from arcgis-maps-sdk-dotnet-samples.
Hey @tejabalu thanks for checking offline files were downloaded. I'm unable to reproduce this on my Windows 10 PC when testing WPF .NET 6 and .NET Framework solutions. Note that there is limited data with the simulated data source - the data will only display for only a few minutes since we don't loop the data again. But it sounds like no data at all is displaying for you. Would you kindly answer the following?
- Are you seeing this behavior in both WPF projects?
- Did you deploy the sample viewer app from the Microsoft Store or did you clone the repo?
- If cloned, what configuration? e.g., Debug | x64
- What version of Windows are you on?
from arcgis-maps-sdk-dotnet-samples.
Nice, I updated the PR with the change for Maui too!
from arcgis-maps-sdk-dotnet-samples.
Fixed by @tejabalu
from arcgis-maps-sdk-dotnet-samples.
Related Issues (20)
- elevation not loaded with WPF HOT 1
- Update scene symbol lead to memory leak HOT 1
- Analyze Viewshed Sample HOT 2
- Exception running ArcGISRuntime.WinUI.Viewer: Unable to load 'Microsoft.ui.xaml.dll' HOT 1
- DisplayUtilityAssociations: AddAssociations is called twice during initialization HOT 1
- IndoorPositioning not showing up under Location HOT 3
- Cannot add credentials to ServiceFeatureTable
- Does 'IIF arcade expression' supports in Renderer?
- Is there any posibility to hide ENC file frame border?
- This service does not support the Map capability on android xamarin HOT 3
- Label not rotate when angle is not 0 HOT 6
- this is certainly not going to work HOT 1
- oauth authentication through proxy HOT 1
- QueryFeaturesAsync
- public RuntimeImage InfoIcon => new RuntimeImage(new Uri("https://cdn3.iconfinder.com/data/icons/web-and-internet-icons/512/Information-256.png")); HOT 1
- Problem with Animate3DGraphic sample HOT 5
- Could not load file or assembly 'Esri.ArcGISRuntime, Version=100.13.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' HOT 1
- xamarin forms searchview error HOT 1
- File not found. shaders folder doesn't exist HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arcgis-maps-sdk-dotnet-samples.