|
POST
|
Hey Chuck- The C++ API is only supported on Windows and Linux at this point, so there are no associated sample applications for the other platforms you mentioned. Is C++ on these different platforms a requirement for your work? Thanks, Luke
... View more
05-26-2015
10:07 AM
|
0
|
2
|
1904
|
|
POST
|
KK- No, there is no Google Maps Layer in the API. Thanks, Luke
... View more
05-26-2015
09:47 AM
|
0
|
0
|
1175
|
|
POST
|
Hey Alex- 3D is not yet capable with our SDK. It is something we will be adding to all of the ArcGIS Runtime SDKs by sometime around early next year, but for now, we don't have an API for that. In our upcoming 10.2.6 release (coming out in a few weeks), we will have support for you to view your OSM tiles offline, so you will be able to do that shortly. With 10.2.5, the OpenStreetMapLayer supports online tiles. Thanks, Luke
... View more
05-19-2015
08:21 AM
|
0
|
0
|
1175
|
|
POST
|
The issue is that the Topographic.tpk that you are using is in WGS 1984 Web Mercator Auxiliary Sphere coordinate system (wkid 102100), but the envelope and graphics you are defining are in GCS WGS 1984 (wkid 4326). These do not project on the fly, so this is why the graphic appears near 0,0. You'll need to either make a TPK that is in 4326, or the coordinates you specify in your code will need to be in 102100. You could also use our coordinate conversion class to convert units from 4326 to 102100. Thanks, Luke
... View more
05-18-2015
07:51 AM
|
1
|
1
|
1026
|
|
POST
|
Hey Rainer- There are some cases where editing a geometry that belongs to the graphic can cause unexpected behavior in a multithreaded environment, such as what you are seeing. This is one of the driving factors for us changing how you will work with geometries across all of the runtime APIs at our Quartz release (coming later this year). In that release, geometries will be immutable. With the current release, and the upcoming 10.2.6 release, if you want to modify geometries that belong to graphics, you will need to create a new geometry, or use the clone method. In your case, you could want to clone the polyline with the clone() method, and then set the new instance of the polyline to the graphic's geometry. Here is an example based on your above code: var polyline2 = polyline.clone();
polyline2.setPoint(0, heloCoord);
polyline2.setPoint(1, waypointCoord);
courseTrack.geometry = polyline2; Thanks, Luke
... View more
05-14-2015
09:21 AM
|
0
|
2
|
1351
|
|
POST
|
I would use the mouseClicked signal on the map for this. This signal passes a MouseEvent object with it ArcGIS Runtime SDK for Qt (QML API): Map From that, you can get the screen coordinates and the map coordinates. ArcGIS Runtime SDK for Qt (QML API): MouseEvent Perhaps you could then place your components location somewhere near this?
... View more
05-13-2015
10:00 AM
|
1
|
3
|
1505
|
|
POST
|
Ceyhun- First thing to know is if you are on remote desktop. If so, this is not supported at this release. VNC will work, however. If this is not the case, I don't know specifically why it is crashing, but I recommend you install Qt 5.4.1 and re-download and install the Runtime SDK for Qt. We released an update shortly after the initial release for Windows (it looks like you have the initial build still), as there was an issue with backwards compatibility with Qt 5.4.0 on Windows. The newer update was built with 5.4.1, and will support building on Qt 5.4.1. You can get the newest update by clicking on the Windows download button here - ArcGIS SDK for Qt | ArcGIS for Developers Thanks, Luke
... View more
05-12-2015
10:47 AM
|
0
|
0
|
2241
|
|
POST
|
KK- We are currently looking into this, as I'm not sure how this works with this structure.
... View more
05-12-2015
10:39 AM
|
0
|
0
|
2303
|
|
POST
|
We are currently looking into this, as I'm not sure how this works with this structure.
... View more
05-12-2015
10:38 AM
|
0
|
0
|
3271
|
|
POST
|
I don't think the URL you provided is enough for the layer to know what to display. It appears to be the endpoint to several services/layers hosted by that org. The below code works for me ApplicationWindow {
id: appWindow
width: 800
height: 600
title: "wms"
Map {
anchors.fill: parent
focus: true
WmsDynamicMapServiceLayer {
url: "http://mesonet.agron.iastate.edu/cgi-bin/wms/iowa/rainfall.cgi?"
}
}
}
... View more
05-08-2015
09:44 AM
|
0
|
2
|
2303
|
|
POST
|
My guess is you're running this over Remote Desktop on Windows. If so, this is a known issue with the Runtime SDK for Qt on Windows for the 10.2.5 release, and is documented here for your reference: Release notes for ArcGIS Runtime SDK 10.2.5 for Qt—ArcGIS Runtime SDK for Qt | ArcGIS for Developers "Installation, development and deployment are not supported when accessing the development machine using Microsoft Remote Desktop Protocol due to conflicts between RDP and the Qt framework's rendering. VNC has been tested and appears to work." For now, you can either use VNC, or directly log into the machine. Using Microsoft RDP is something that should work in an upcoming release. Thanks, Luke
... View more
05-08-2015
09:10 AM
|
1
|
1
|
1224
|
|
POST
|
Chuck- Try using insertLayer instead of addLayer. This allows you to specify the layer index. You can use removeLayerByIndex + insertLayer to switch basemap but leave all other layers as they were. Here is an example of something that seems to work for me for switching basemaps: ApplicationWindow {
id: appWindow
width: 800
height: 600
title: "BasemapSwitcher"
Map {
id: map
anchors.fill: parent
ArcGISTiledMapServiceLayer {
url: "http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"
}
ArcGISDynamicMapServiceLayer {
url: "http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer"
}
}
ComboBox {
id: comboBox
width: 125
anchors {
left: parent.left
top: parent.top
margins: 15
}
model: ["light grey", "imagery", "topographic"]
}
Button {
anchors {
left: parent.left
top: comboBox.bottom
margins: 15
}
width: 125
text: "switch basemap"
onClicked: {
console.log("switching basemap to", comboBox.currentText);
switch(comboBox.currentText) {
case "light grey":
switchBasemap("http://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Light_Gray_Base/MapServer");
break;
case "imagery":
switchBasemap("http://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer");
break;
case "topographic":
switchBasemap("http://services.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer")
break;
}
}
function switchBasemap(serviceUrl) {
var lyr = ArcGISRuntime.createObject("ArcGISTiledMapServiceLayer", {url: serviceUrl});
map.removeLayerByIndex(0);
map.insertLayer(lyr, 0);
}
}
}
... View more
05-06-2015
12:10 PM
|
3
|
1
|
2423
|
|
POST
|
KK- Please see the class API help - ArcGIS Runtime SDK for Qt (QML API): WmsDynamicMapServiceLayer Only the URL property for QML is exposed at this point, so doing things like getting to the individual sublayers and turning them on and off will not be supported. Thanks, Luke
... View more
05-05-2015
10:08 AM
|
0
|
2
|
3271
|
|
POST
|
KK - It looks like the URL you are using for your WMS Service is actually coming from an ArcGIS Dynamic Map Service (ending in "MapServer"). The WmsDynamicMapServiceLayer expects the url to a map service that has the WMS capability enabled on it. If you are using a WMS Service coming from ArcGIS Server, it should end in "WMSServer". Thanks, Luke
... View more
05-04-2015
10:22 AM
|
0
|
4
|
3271
|
|
POST
|
Hey Miguel- I'm not sure I know exactly what your issue is, but in general, the map needs to be bound to a MapGraphicsView. This is one of our classes, and it derives from QGraphicsView. Read more about this here - EsriRuntimeQt::MapGraphicsView Class Reference Once you initialize your MapGraphicsView with your Map, you should be able to treat it like a QGraphicsView, and add it as a widget into your application. Thanks, Luke
... View more
04-22-2015
03:11 PM
|
0
|
1
|
1528
|
| 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 |
3 weeks ago
|