|
POST
|
Nick- Your code looks good. Does the feature service layer name match "a2"? You can also try doing feature service layer index and specify the index instead of the name. If that doesn't work, can you attach a sample geodatabase? Thanks, Luke
... View more
10-05-2015
11:58 AM
|
0
|
4
|
2060
|
|
POST
|
Hi Andy, We plan to have a new findFeatures paradigm at Quartz. Instead of having a findFeatures operation for layers, we will have an identify operation that is done on the map view. This will perform an identify, similar to how you identify on a map in ArcMap. It will do the identify on all layers in the map view that are within the tolerance of your touch or click event. Thanks, Luke
... View more
10-05-2015
11:55 AM
|
0
|
1
|
839
|
|
POST
|
Nick, If you have a specific question, feel free to post it on here and we will do our best to give you a hand. Thanks, Luke
... View more
10-05-2015
11:00 AM
|
1
|
0
|
1865
|
|
POST
|
Going with what Alex suggested, you should be able to obtain the bearing through position source. Position Source is a QML type that will allow you to gather the current coordinate. From the coordinate, you can obtain the bearing. Please see the help from Qt regarding the coordinate QML type - coordinate QML Basic Type | Qt Positioning 5.5 azimuthTo() real azimuth(coordinate other) Returns the azimuth (or bearing) in degrees from this coordinate to the coordinate specified by other. Altitude is not used in the calculation.
... View more
10-05-2015
10:54 AM
|
1
|
0
|
1559
|
|
POST
|
Hi Nick- We don't yet have an official map callout in the API, but we are planning to add one for the Quartz release coming early next year. With that said, you can write your own without too much effort. I did this for one of the demo apps at the UC this year. Please see this project - RuntimeQtSamples/sd_brewery_explorer at master · ldanzinger/RuntimeQtSamples · GitHub I created a MapCallout.qml file, that is basically a styled rectangle with some text inside of it. When the user clicks on a feature, query the attributes of that feature, fill in the text in the rectangle with those attribute values, and set visibility to true/set the x and y to the screen x and y that the user clicked. Thanks, Luke
... View more
09-24-2015
09:00 AM
|
1
|
2
|
1865
|
|
POST
|
We contacted Qt support to know for sure what is and is not supported. It looks like with the current release of Qt (5.5), Xcode 7 is not supported. Here is the info they provided us: You can find the list of supported platforms and compilers from this link: http://doc.qt.io/QtSupportedPlatforms/index.html iOS 8.1 - OS X 10.9 host clang-600.0.54 CI Tested clang-600.0.54 is Xcode version 6.1. XCode 7 is not in our CI build pool and thus it's not supported.
... View more
09-23-2015
10:10 AM
|
1
|
0
|
2301
|
|
POST
|
Good idea. We have a few ideas on some things we would like to do similar to this. We will look into what it will take to get this done for a future release. Thanks for the input. -Luke
... View more
09-22-2015
04:29 PM
|
1
|
0
|
1400
|
|
POST
|
Hi Jakob, You are right that you should be using the following service: https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World You have a few options with UserCredentials. The first is to determine if you need to use OAuth authentication or if regular http tokens will suffice. If so, you can obtain the username and password from your user, and set those on the user credentials, and then set the route task's credential property to that instance of UserCredentials. This is the simplest option. If you do need to use OAuth, then we didn't officially support this until 10.2.6. You might be able to get this to work still be manually acquiring the token like you are doing. The referer should refer to the App ID that you get when you register your app on developers.arcgis.com. Thanks, Luke
... View more
09-22-2015
09:49 AM
|
2
|
2
|
2994
|
|
POST
|
Hi Marco, Can you provide some specifics about what you are after? With the Quartz release, we are looking to embrace the model-view paradigm as much as we can, and have it working in several places throughout the API already. However, any specifics on your suggestion with the layer type and how it would fit in with Qt's models would be greatly appreciated. Thanks for the feedback. -Luke
... View more
09-21-2015
10:47 AM
|
0
|
2
|
1400
|
|
POST
|
Hey Andy- The second line is the key thing to look at: E/Qt ( 1916): java.io.FileNotFoundException: /data/data/com.epochsg.epochfieldcloud/lib/libqml_ArcGIS_Runtime_libArcGISRuntimePlugin.so: open failed: ENOENT (No such file or directory) There are some issues with finding the Android plugin. A few things to try: 1) Make sure you ran the 10.2.6 post installer for the Android kit you are using 2) Open the project in Windows Explorer and go into "Android/res/values" and open libs.xml. Do you see a bunch of lines similar to the attached "old.png"? If so, try removing the lines so it looks like the attached "new.png". Let me know if either work for you. Thanks, Luke
... View more
09-02-2015
04:37 PM
|
1
|
1
|
2084
|
|
POST
|
KK- You should query the feature table, either with queryds or queryFeatures ArcGIS Runtime SDK for Qt QML API: FeatureTable Class Reference . Both of these methods require you pass in a Query object ArcGIS Runtime SDK for Qt QML API: Query Class Reference. If you want all features within that geometry, make sure to set the where clause to "1=1" to get everything. If you just want a subset, specify your own SQL query. Make sure to set the spatialRelationship that you want (within, intersects, overlaps, etc), and this is what will filter based on geometry ArcGIS Runtime SDK for Qt QML API: Enums Class Reference This will return a FeatureResult, which has a feature count ArcGIS Runtime SDK for Qt QML API: FeatureResult Class Reference Thanks, Luke
... View more
09-02-2015
12:49 PM
|
2
|
0
|
1106
|
|
POST
|
KK, Did you make sure to use the Esri provided iOS kit? Please see the topic "Install prerequisites for iOS development" here: Install and set up on Mac OS X—ArcGIS Runtime SDK for Qt | ArcGIS for Developers This explains why you need to use the Esri provided kit and how to do it. Thanks, Luke
... View more
08-26-2015
10:17 AM
|
1
|
0
|
1333
|
|
POST
|
Ceyhun- In your the first screenshot it shows you using Qt 5.5, but in your second screenshot, the path you are showing in the Mac Finder window is 5.4. I think maybe you have a 5.4 kit installed as well and you ran the post installer against that one, and not the 5.5 kit. You need to make sure the ArcGIS folder exists under your 5.5 kit, not 5.4. Thanks, Luke
... View more
08-25-2015
11:36 AM
|
0
|
1
|
2241
|
|
POST
|
Hello, Are you trying to build and run for Mac or iOS? I see from your notes that when you created the app, you selected Mac (clang 64) and iOS. Do you see this error when you select Mac or iOS or both? Typically the only thing you should need to do is run the post installer and point it to the desired versions of Qt. Once you do this, you should notice in your Qt kit, that there will now be an ArcGIS folder in the following location (<qt_install_path>/Qt/clang_64/qml/ArcGIS). If this folder does not exist, re-run the post installer. If it does exist, make sure you are selecting the proper kit from Qt Creator. Thanks, Luke
... View more
08-25-2015
10:09 AM
|
0
|
3
|
2241
|
|
POST
|
Along with the below code, you could also add an extra check in the onClicked of the button to actually disable the button onClicked: {
enabled = false
addLayer("http://server.arcgisonline.com/ArcGIS/rest/services/Reference/World_Transportation/MapServer")
if (appMap.layerByIndex(0).status)
enabled = true
}
... View more
08-24-2015
10:24 AM
|
0
|
0
|
1239
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 05-27-2026 09:52 AM | |
| 1 | 11-24-2025 10:45 AM | |
| 1 | 07-30-2025 08:26 AM | |
| 1 | 05-15-2025 07:35 AM | |
| 2 | 11-26-2024 01:27 PM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|