POST
|
Hi Aneeqa, mapPoint is a point geometry; you should write out/console log x and y refer - Point QML Type | ArcGIS for Developers yes, this will work only IF you location display is active and functional. Not sure what your workflow is but in general extent of the map could be changed by zooming in, out, changing scale etc. Once your extent is changed, you could use this signal - ArcGISItem QML Type | ArcGIS for Developers to do add desired behaviour after extent change is complete. Hope this helps. Kaushik
... View more
11-11-2017
11:11 AM
|
0
|
0
|
349
|
POST
|
Hi,
mapview.locationDisplay.mapLocation should give you a geographic point. That'll be the current position of your location display. Kaushik
... View more
11-10-2017
11:06 AM
|
0
|
2
|
349
|
POST
|
Raster analysis in AppStudio will be currently limited to these raster functions - Add raster data—ArcGIS Runtime SDK for Qt | ArcGIS for Developers ArcHydo extension will not work with AppStudio; it's for Desktop GIS only. Hope this helps. Kaushik
... View more
11-06-2017
11:19 PM
|
1
|
0
|
244
|
POST
|
Ray, You might not be needing this but just an idea - you could also integrate cool features such as "vibrate" and "notification" in your geo-fending app. For example: // App notification LocalNotification { id: notification }
if(GeometryEngine.within(geom1, geom2)) { var notifiationId; notifiationId = notification.schedule("Some kind of Alert", messageString, 1);
// Also vibrate
if(Vibration.supported) { Vibration.vibrate(); } }
... View more
11-02-2017
02:32 PM
|
0
|
0
|
544
|
POST
|
Rayfield, Use locationDisplay.location.position instead of locationDisplay.positionSource.position
... View more
11-02-2017
11:51 AM
|
2
|
1
|
544
|
POST
|
Hi Rayfield, Try doing following first, before passing the geometries in "GeometryEngine.within". If it does work then eliminate one projection operation at a time and see which one is necessary.
var geom1 = GeometryEngine.project(<newPointGeometry>, SpatialReference.<whatever>()); var geom2 = GeometryEngine.project(<zoneGeometry>, SpatialReference.<must_be_same_as_above>); GeometryEngine.within(geom1, geom2) Kaushik
... View more
11-02-2017
09:16 AM
|
2
|
3
|
544
|
POST
|
Hi Paul, Did you try (SpatialRelationshipEnvelopeIntersects AND !Enums.SpatialRelationshipDisjoint)? As per the help, Enums.SpatialRelationshipDisjoint supposed to tell if the intersection is empty or not. Kaushik
... View more
10-13-2017
10:23 AM
|
0
|
2
|
644
|
POST
|
Hi Ray, What are the loadStatus and featureTable.queryFeaturesStatus (write out using the console) values? That should tell us the state of the layer object and if the query is in progress, completed or failed. Kaushik
... View more
10-08-2017
12:03 AM
|
0
|
4
|
588
|
POST
|
Hi Ray, Did you try verifying the path for the geodabase by doing console.log on the path? Make sure the path is correct.
... View more
10-02-2017
01:01 PM
|
0
|
6
|
588
|
POST
|
Thanks for providing additional details Kristen. I will do some research and let you know if could figure this out.
... View more
09-27-2017
11:16 PM
|
1
|
0
|
399
|
POST
|
Hi Kristen, Please could you explain what do you mean by refining the map location and why you intend to prevent it? Thanks
... View more
09-27-2017
10:11 AM
|
0
|
3
|
399
|
POST
|
I will share the formal doc as soon as I find it, in the mean time though - does F2 on the "ScaleBar" work for you in Qt Creator IDE? That should take you to the source - ScaleBar.qml.
... View more
09-15-2017
10:10 AM
|
0
|
3
|
1200
|
POST
|
Hi Aneequa, It's implemented in the Runtime.Controls lib or namespace. So import ArcGIS.AppFramework.Runtime.Controls 1.0 in your qml file first and implement as below along with desired supported properties and behaviour on the scalebar For example: ScaleBar { anchors { left: parent.left leftMargin: 40 bottom: parent.bottom bottomMargin: 55 } map: safetyAlertMap visible: true }
... View more
09-15-2017
09:31 AM
|
0
|
0
|
1200
|
POST
|
Hi Muralidhar, Did you try running your App using Alt + Shift + R (Tools -> External -> AppStudio -> Run)? Also did you watch the "General Messages" window for the console messages? FYI, if you haven't already seen -Debugging JavaScript in Qt Creator—AppStudio for ArcGIS | ArcGIS Kaushik
... View more
09-07-2017
10:28 AM
|
0
|
1
|
385
|
POST
|
Hi Ken, It might be worth giving specifics or additional info (detailed steps) about following two unrelated errors: >> I tried to remake the app and redeploy it but I get messages that the app can not be transferred. and >> 'There was an error loading OAuth credentials'.
... View more
09-05-2017
10:13 AM
|
0
|
1
|
175
|
Title | Kudos | Posted |
---|---|---|
1 | 06-14-2017 11:37 AM | |
1 | 05-08-2017 10:51 AM | |
1 | 11-06-2017 11:19 PM | |
1 | 06-07-2017 02:40 PM | |
2 | 11-02-2017 11:51 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|