|
POST
|
Hi Matthew, Yes, this has come up before sometime back. Could you please go ahead and log an Esri Technical support issue as an enhancement request? So that we can track it officially and tag more users to it. Thanks, Nakul
... View more
09-19-2017
05:40 PM
|
0
|
0
|
4136
|
|
POST
|
Hi Kamran, Unfortunately, that is system provided control and cannot be altered. This is not controlled by the QuickReport template. However, if you would like you can update the combobox control to the latest QtQuick.Controls 2.1 ComboBox QML Type | Qt Quick Controls 2 5.9 Currently, it is using the combobox from QtQuick.Controls 1.x. This will provide you a new look and feel of the combobox. Thanks, Nakul
... View more
09-19-2017
10:21 AM
|
0
|
0
|
710
|
|
POST
|
The scalebar from ArcGIS.AppFramework.Runtime.Controls 1.0 is based on Runtime 10.2.6 and not for 100.1. Unfortunately, there is no official implementation available for the scalebar at Runtime100.1. Runtime hasn't provided one yet. It is in the pipeline for future release. Hence you have to create your own. This requires some work. Also mapScale property is now a property of MapView instead of Map. This is just an example to get started. It is not a complete implementation. Create a new qml as ScaleBar.qml import QtQuick 2.2
import Esri.ArcGISRuntime 100.1
Item {
id: scaleBar
property MapView map: null
signal clicked()
signal doubleClicked()
implicitWidth: 100
implicitHeight: 50
width: 100
height: 50
Component.onCompleted: {
if (!map && parent && parent.objectType && parent.objectType === "MapView") {
map = parent;
}
}
QtObject {
id: internal
property real segmentWidth: scaleBar.width / 4
property real segmentHeight: scaleBar.width * 0.05
}
Column {
width: parent.width
spacing: 0
Text {
id: scaleText
width: parent.width
text: "1:" + Math.round(map.mapScale).toLocaleString()
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight
font {
pointSize: 10
bold: true
}
}
Item {
width: parent.width
height: internal.segmentHeight * 2
Column {
id: segmentsColumn
anchors.fill: parent
Repeater {
model: 2
Row {
id: segmentRow
property int rowIndex: index
Repeater {
model: 4
Rectangle {
width: internal.segmentWidth
height: internal.segmentHeight
color: (index + segmentRow.rowIndex) & 1 ? "white" : "black"
}
}
}
}
}
Rectangle {
anchors {
fill: segmentsColumn
}
color: "transparent"
border {
color: "black"
}
}
}
Row {
width: parent.width
Repeater {
model: 3
Text {
text: "d" + index
width: parent.width / 2
horizontalAlignment: Text.AlignLeft
font {
pointSize: 10
bold: true
}
}
}
}
Text {
width: parent.width
text: qsTr("units")
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight
font {
pointSize: 10
bold: true
}
}
}
MouseArea {
anchors.fill: parent
onClicked: {
scaleBar.clicked();
}
onDoubleClicked: {
scaleBar.doubleClicked();
}
}
}
In your app add this Scalebar ScaleBar{
anchors.left: mapView.left
anchors.bottom: mapView.bottom
anchors.margins: 10 * scaleFactor
map:mapView
} For units you can use map.spatialReference.unit.displayName. Some more work needs to be done to calculate d0, d1, d2 values to change dynamically.
You can choose to work more on this or wait until the official implementation from Runtime becomes available.
... View more
09-15-2017
10:47 AM
|
1
|
1
|
2804
|
|
POST
|
Hi Paul, Currently, upgrading the current installation is not available. But you can have multiple versions installed on your end. You just need to choose a different folder to complete installation. Thanks, Nakul
... View more
09-13-2017
08:30 AM
|
0
|
1
|
1187
|
|
POST
|
Citizen problem reporter supports multiple feature service layers. However, quick report supports one layer at a time. But it can be point, polyline or polygon feature service layer. You need to set the Layer id appropriately in the Quick report settings. Bu default it is pointing to LayerId 0. -Nakul
... View more
09-11-2017
09:11 AM
|
0
|
0
|
4136
|
|
POST
|
What version of Player are you using? It has to be 2.0.26, otherwise it won't work. Have you confirmed the Runtime settings? If the settings is correct. Then also please close the Player app on your device and then then restart the Player. Then try your app. If the problem persists please log a support issue so we can track it on our end. Thanks, Nakul
... View more
09-11-2017
09:07 AM
|
0
|
1
|
1641
|
|
POST
|
One more thing I forgot to add that AppStudio Player 2.x supports both 10.2.6 and 100.1 Runtime. But in order for it work correctly. Please choose the correct Runtime version in the Player settings. Once you select it. It will ask you to restart the player.
... View more
09-11-2017
08:29 AM
|
0
|
3
|
1641
|
|
POST
|
You mentioned you changed the Map to MapView. Did you also add the map property to MapView? Your code should something like MapView{
id:mapView
anchors.fill:parent
Map{
BasemapImagery{}
ArcGISMapImageLayer{
id:mapServiceLayer
url:"http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer"
onLoadStatusChanged: {
if(loadStatus === Enums.LoadStatusLoaded){
mapView.setViewpointGeometry(mapServiceLayer.fullExtent);
}
}
}
FeatureLayer{
id:citiesLayer
visible: false
featureTable:citiesFeatureTable
}
ServiceFeatureTable{
id: citiesFeatureTable
url: "http://sampleserver6.arcgisonline.com/arcgis/rest/services/Wildfire/MapServer/0"
}
}
} Please see AppStudio sample "Basic Map Settings" for more information. Also checkout this video to help you get started Chapter 6.2 ArcGIS Runtime 100.x | How to Get Started with ArcGIS Runtime 100.x (2 of 6) - YouTube If it still doesn't help provide your code, screenshots or errors. You can also go ahead and log a Esri support ticket and they will be able to help you troubleshoot the issue. Thanks, Nakul
... View more
09-11-2017
08:24 AM
|
0
|
0
|
1641
|
|
POST
|
Please allow me to help you understand this 1) Only public webmaps are supported for MapViewer at this point (although this might change in the near future) which means the webmap has to be public 2) The three columns basically act as a filter for choosing webmap and they should be read as below - My Content - Webmaps created or added by you to your org account but must be shared publically -My Org- Webmaps created or added by other users in your org but must be shared publically - Public - This is self explanatory, which means created by others and shared publically outside your org. I hope this helps. Nakul
... View more
09-08-2017
11:06 AM
|
0
|
1
|
1047
|
|
POST
|
Hi Matt, Please make sure that your bundle id in Advanced settings should exactly match the bundle id in your provisioning profile. Thanks, Nakul
... View more
09-05-2017
06:26 PM
|
0
|
0
|
1988
|
|
POST
|
Hi Ken, I believe you are using the Esri enterprise certificate for your signed iOS app. If that is correct then it is issue we are trying to get fixed at our end. Seems like the certificate period has expired. We are working on it. Thanks, Nakul
... View more
09-05-2017
10:38 AM
|
0
|
0
|
760
|
|
POST
|
That is correct. You need a standard license for upload to work. Nakul
... View more
08-31-2017
08:54 AM
|
0
|
1
|
1001
|
|
POST
|
Can you please try using this "urn:ietf:wg:oauth:2.0:oob" for redirect_uri when registering your app in your org account?
... View more
08-29-2017
10:27 AM
|
1
|
0
|
1063
|
|
POST
|
I am little confused here. Are you trying to zoom to the current location of the device or you are trying to zoom to the location of root.feature. For latter, use the following code // My json text looks like this, but you may already have a JSON object
jsonTxt.text = "{\"spatialReference\":{\"latestWkid\":102100,\"wkid\":102100}, \"x\": 9000000, \"y\": 6000000 }"
var g = ArcGISRuntime.createObject("Point", {"json":JSON.parse(jsonTxt.text)});
addSampleGraphic(pointGraphic,g)
function addSampleGraphic(graphic, geometry) {
if(geometry.spatialReference.wkid !== map.spatialReference.wkid)
{
var newGeom = geometry.project(map.spatialReference)
geometry = newGeom
console.log("reprojected geometry")
}
var graphicClone = graphic.clone();
graphicClone.geometry = geometry;
graphicsLayer.addGraphic(graphicClone);
map.zoomToResolution(20000)
map.panTo(geometry)
} I hope this helps. If you are looking to zoom to your current location use Map::PositionDisplay.positionSource to get the current location. Getting the center of the map is quite straightforward. Use Map.extent.center, this should return you a point geometry. Thanks, Nakul
... View more
08-28-2017
08:55 AM
|
1
|
1
|
1158
|
|
POST
|
Have you provided a valid ClientID (aka App ID) to the app in the advanced settings?
... View more
08-28-2017
08:20 AM
|
0
|
2
|
1063
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-30-2022 08:20 AM | |
| 1 | 06-06-2017 09:24 AM | |
| 1 | 11-19-2019 05:32 PM | |
| 1 | 09-29-2017 04:37 PM | |
| 1 | 12-20-2017 11:02 AM |
| Online Status |
Offline
|
| Date Last Visited |
01-29-2026
08:38 AM
|