|
POST
|
Okay, I've been experimenting with things and found something interesting! The SketchEditor classes have not altered for a very long time, but there is a definite regression in touch as you've identified which I have narrowed down to the version of JavaFX. Basically touch with SketchEditor works fine if you switch to using JavaFX11.0.2, but I'm seeing the same issue as you with using JavaFX 17. I'll have to dig into this some more, but it looks like there is a behaviour change after JavaFX11. The issue still happens even in the early adopter version of JavaFX20! I'll have to look at this some more, but the workaround for the moment is to build your app in JavaFX 11. Does this help? Mark
... View more
11-10-2022
10:21 AM
|
0
|
2
|
1674
|
|
POST
|
Hi Rod, I'm going to set up a touch screen to see what is happening here. I'll report back shortly. Mark
... View more
11-10-2022
08:07 AM
|
0
|
1
|
1676
|
|
POST
|
Hi David, This looks an interesting project. We don't have a method specific to making splines, but I'm wondering if you could achieve something through the use of curve based segments. Line or polygon segments can be made up from one of the following curve types: - Cubic Bezier - Elliptic Arc There is a sample app here which shows how to use them. Does this help? If you feel there is a gap in the product, I'm always happy to consider adding something new. Thanks Mark
... View more
10-20-2022
01:03 AM
|
0
|
1
|
1076
|
|
POST
|
If that doesn't work then take a look at your service endpoint in a browser. It should look something like this one which I know works fine: https://sampleserver6.arcgisonline.com/arcgis/rest/services/Energy/Geology/FeatureServer/9
... View more
08-26-2022
04:02 AM
|
0
|
1
|
2064
|
|
POST
|
For the serviceFeatureTable to load something needs to trigger it. If you are using it to create a FeatureLayer and then add it to the operational layers list of your map this will happen automatically. However if you are not adding it to an ArcGISMap instance then you will need to trigger the load event yourself using this line of code: serviceFeatureTable.loadAsync(); Does this make the event fire?
... View more
08-26-2022
03:58 AM
|
0
|
0
|
2064
|
|
POST
|
Whenever I see a DoneLoadingListener not firing, I would confirm that you are not being hit by the JVM garbage collection cleaning up your service feature table class before you had chance to use it. In the code snippet above your ServiceFeatureTable class instance is a local variable, but the event fires on a separate thread when possibly the variable has gone out of scope and is vulnerable to garbage collection. Can you try making the variable for the ServiceFeatureTable a class member and see if it improves things? If this fixes the issue, there is a blog post I wrote which explain this in more detail here. Let me know if that helps - can look at other things if this isn't the problem.
... View more
08-26-2022
03:22 AM
|
0
|
1
|
2076
|
|
POST
|
Excellent - glad you've got a working solution. Mark
... View more
08-18-2022
12:59 AM
|
0
|
0
|
1383
|
|
POST
|
Hi It's hard to comment on this without trying it out. Is there any way you can share access to your server and the credentials. I appreciate you won't want to share this on a public forum, but there is a private message system here you can use to share these with me. If it's not possible, we'll try to make suggestions. Can you also tell me what version of the SDK you are using? This is a key piece of information. Thanks Mark
... View more
08-17-2022
02:00 AM
|
0
|
1
|
1392
|
|
POST
|
Can you tell me more about this flashback phenomenon? Is it temporary whilst data is coming in? Sometimes as data is loading and elevation sources are loading data will move about. Can you also tell me what slpk data you are using? Maybe post a video as it might help to describe the issue more clearly
... View more
07-25-2022
03:56 AM
|
0
|
1
|
862
|
|
POST
|
I can confirm we see it too and this is being actively looked at in the team. I'll keep you posted on progress. Mark
... View more
07-21-2022
04:15 AM
|
0
|
0
|
904
|
|
POST
|
Okay thinking about this more (and having discussed it with someone else too), I'm wondering if you issue is around authenticating against your webmap. The webmap we are using in the sample is a public one so doesn't require any authentication to get you accessing it. I'm wondering if you are able to open your web map and display it at all? There is a sample which shows how to display a webmap from a portal item here. If security is the issue , then you can take a look at these samples which might help. Let me know how you get on with this
... View more
07-19-2022
06:13 AM
|
0
|
0
|
1514
|
|
POST
|
Swapping out your service into our sample app shows there is likely to be a config issue on the server side as you have suggested. At least it shows that your original code was probably okay. Configuring ArcGIS Online services isn't something I do very often so I'm going to ask someone who knows this area better to see if they have any thoughts.
... View more
07-18-2022
02:23 AM
|
0
|
0
|
1529
|
|
POST
|
A quick answer as it's a Sunday... there is a working sample app on gitHub could take a look at. It does pretty much the same as you are trying to do. If that doesn't help then let me know and I'll take a closer look at your code on Monday. Mark
... View more
07-17-2022
03:37 AM
|
0
|
2
|
1573
|
|
POST
|
The service I'm using to delete features is this one https://sampleserver6.arcgisonline.com/arcgis/rest/services/DamageAssessment/FeatureServer If you can get me a reproducer I can take a closer look at your code. For info, I was working on a Mac using 100.14.1. The fact that you are using Linux shouldn't make any difference.
... View more
07-14-2022
05:50 AM
|
0
|
0
|
1441
|
|
POST
|
The reason I'm asking what kind of application you are writing is to make sure you are not investing time in a project which can't be licensed. If you are writing a desktop JavaFX application this is fine, but if you are writing a server side component such as a micro-service then is isn't covered in the license agreement for the ArcGIS Runtime Product and the advice I give needs to be different. The API can delete features from a hosted feature service. For example, I tried it as follows using the objectid of a feature in a service. Starting by getting the feature using a where clause: // query parameters to get a specific feature
QueryParameters queryParameters = new QueryParameters();
queryParameters.setWhereClause("objectid=1594564");
// get a quest result containing the feature to be deleted.
var resultFuture = featureTable.queryFeaturesAsync(queryParameters);
FeatureQueryResult selected = resultFuture.get(); Then I deleted it using the same techniques used in the sample. If you explain exactly what you are doing and maybe share some code I can give you some more pointers.
... View more
07-13-2022
09:05 AM
|
0
|
1
|
1446
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-13-2024 05:17 AM | |
| 1 | 07-10-2024 01:50 AM | |
| 1 | 04-22-2024 01:21 AM | |
| 1 | 04-18-2024 01:41 AM | |
| 1 | 12-05-2023 08:50 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-12-2025
07:13 PM
|