|
POST
|
Nice find @TroyFoster ! I already have a pull request up to get it fixed for the next release.
... View more
09-14-2023
10:38 AM
|
1
|
0
|
1409
|
|
POST
|
Hi @JustinSteventon , I have some info to share, but admittedly I am not an expert on our supported raster formats. I recommend taking a look at https://gist.github.com/nixta/9cf3b53e3340dc3314c6db40af06c709 You may need more than just the world files for those formats. You may also need auxiliary files as well. https://pro.arcgis.com/en/pro-app/latest/help/data/imagery/auxiliary-files.htm
... View more
09-06-2023
10:48 AM
|
0
|
1
|
1366
|
|
POST
|
That's great to hear, @KCLewelling. I forgot about the new websocket dependency we'd added in the 200.x timeframe. Glad you got that one figured out.
... View more
09-05-2023
04:41 PM
|
0
|
0
|
2852
|
|
POST
|
I would not think that var vs const would make a difference, but as I am not able to reproduce the problem I'd suggest going with that if it works for you. I recommend reaching out to Esri support if you are still hitting problems related to specific Android devices.
... View more
09-05-2023
08:40 AM
|
0
|
0
|
1503
|
|
POST
|
Hi @KCLewelling. Thanks for reaching out to us. Looking over your QT_DEBUG_PLUGINS output, I think that's pointing to the culprit. It looks like your app is attempting to load our QML API plugin (ArcGISRuntimePlugin.dll) from two different locations: The SDK installation location: "C:/Program Files/ArcGIS SDKs/Qt200.1.0/sdk/windows/x64/qml/Esri/ArcGISRuntime/ArcGISRuntimePlugin.dll" And a different one (maybe the 100.15 version) located at "C:/TEMP/troubleshooting/testMap_200_1_build_Qt652/qml/Esri/ArcGISRuntime/ArcGISRuntimePlugin.dll" If you reconcile these, I think it may work for you. Our other dlls to watch out for are: EsriCommonQt.dll ArcGISRuntimePlugin.dll runtimecore.dll One other thing I spotted, which may be fine is that these dlls are likely OpenSSL 3, which is only supported out-of-the-box with Qt starting with Qt 6.5. Libcrypto-3-x64.dll Libssl-3-x64.dll If you're using an older Qt version, you'll need the older SSL dlls. Usual caveats apply with encryption, so this is just a build configuration thing I noticed. https://www.qt.io/blog/moving-to-openssl-3-in-binary-builds-starting-from-qt-6.5-beta-2 Let us know if that works for you.
... View more
09-01-2023
04:57 PM
|
0
|
0
|
2885
|
|
POST
|
Hi @Anonymous User. I gave your code a spin on macOS with Qt 5.15.2 using our 100.15.0 release. It looks ok for me. I modified one of our out-of-the-box templates with your code and it prints fine. Are there any additional details you can share so we can help troubleshoot? Here's what I tried. I also applied an API key locally for testing. import QtQuick 2.12
import QtQuick.Controls 2.12
import Esri.ArcGISRuntime 100.15
ApplicationWindow {
id: appWindow
width: 800
height: 600
title: "Untitled445"
MapView {
id: mapView
anchors.fill: parent
focus: true
onViewpointChanged: {
updateSomeInfo()
}
function updateSomeInfo() {
if (!mapView.currentViewpointCenter) {
console.log("it's null");
return;
}
var centerPoint = mapView.currentViewpointCenter.center;
console.log(JSON.stringify(centerPoint.json));
}
Map {
initBasemapStyle: Enums.BasemapStyleArcGISStreets
}
}
} As soon as it starts and I begin interacting the map, I see the logging: Initializing application Esri.ArcGISRuntime.Plugin: virtual void ArcGISRuntimePlugin::registerTypes(const char *) Esri.ArcGISRuntime Esri.ArcGISRuntime.Plugin: static void QmlUtils::registerTypes(const char *) Esri.ArcGISRuntime qml: {"spatialReference":{"latestWkid":3857,"wkid":102100},"x":0,"y":0} qml: {"spatialReference":{"latestWkid":3857,"wkid":102100},"x":0,"y":0} qml: {"spatialReference":{"latestWkid":3857,"wkid":102100},"x":-1740.0984933674335,"y":509.2080693356693} qml: {"spatialReference":{"latestWkid":3857,"wkid":102100},"x":-697460.4504242502,"y":204099.07298399135} qml: {"spatialReference":{"latestWkid":3857,"wkid":102100},"x":-701574.0835914724,"y":205318.75499369204} qml: {"spatialReference":{"latestWkid":3857,"wkid":102100},"x":-704368.3717440777,"y":206153.8160307184} qml: {"spatialReference":{"latestWkid":3857,"wkid":102100},"x":-1326097.7183212154,"y":391954.96628710814} qml: {"spatialReference":{"latestWkid":3857,"wkid":102100},"x":-1327220.7128490992,"y":392293.60304021835}
... View more
09-01-2023
04:47 PM
|
0
|
2
|
1531
|
|
POST
|
Hi @GISiste, A ComboBox in QML should be scrollable by default once it goes off screen. You should be able to limit the height of the combobox by using implicitHeight property. https://doc.qt.io/qt-6/qml-qtquick-item.html#implicitHeight-prop
... View more
08-22-2023
03:06 PM
|
1
|
1
|
4835
|
|
POST
|
Hi @GKmieliauskas. Sorry for the delay. The image:// scheme images used by the LegendInfoListModel are temporary, in-memory images that are designed to be displayed in UI controls. However, there is another way to do this. Using the same LegendInfoListModel, you can access each LegendInfo, which all have their own symbol property you can use with a graphic directly. https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-legendinfolistmodel.html#get-method https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-legendinfo.html#symbol-prop Let us know if that works for you.
... View more
06-13-2023
10:34 AM
|
0
|
1
|
1097
|
|
POST
|
@DevalGupta I tried on Linux and I get the same thing. I checked the network requests and this logic is using the older, non-https endpoints by default. For example this request goes out for a map tile: http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/15/9530/17362 ArcGIS Online returns a 301 redirect for the https endpoint version and that works fine on macOS. I don't know for certain, but I suspect there could be a problem with the SSL configuration on Linux with Qt 5 since that would be required for the https tile endpoints, or the networking is getting tripped up by the 301 redirect. I suspect the SSL issue. I hope this is helpful even if I wasn't able to fully get to the bottom of the issue.
... View more
06-02-2023
11:29 AM
|
0
|
0
|
4455
|
|
POST
|
Hi @DevalGupta . I did a quick test on macOS and it worked for me, but I did not specify any PluginParameters. As a starting point, see if you can get a map loading with that alone. Here are more details about the "esri" plugin: https://doc.qt.io/qt-5/location-plugin-esri.html. This will provide more details on what is required. It is worth mentioning that the "esri" Qt location provider has not be ported to Qt 6, so you'll be limited to working with Qt 5.
... View more
06-01-2023
12:50 PM
|
0
|
3
|
4471
|
|
POST
|
@arcgisdev007yes there are. We have many samples available on github, written in both Qt C++ and Qt QML. https://github.com/Esri/arcgis-maps-sdk-samples-qt
... View more
05-02-2023
09:01 AM
|
0
|
0
|
988
|
|
POST
|
@arcgisdev007that's great! Don't hesitate to reach out to the team if you hit any problems.
... View more
05-01-2023
08:44 AM
|
0
|
2
|
993
|
|
POST
|
If that block of code is missing from your project's main.cpp, try adding it and targeting 200.1.0. That's something new we added at 200.1.0, and the support for that code requires 200.1.0 as well. With qmake you can tell the project version by this line: ARCGIS_RUNTIME_VERSION = 200.1.0 Our QML API template should include a main.cpp that looks like this: int main(int argc, char *argv[])
{
qDebug() << "Initializing application";
#if defined(Q_OS_IOS)
# if QT_VERSION >= QT_VERSION_CHECK(6, 3, 0)
extern const QStaticPlugin qt_static_plugin_ArcGISRuntimePlugin_compatibility();
qRegisterStaticPluginFunction(qt_static_plugin_ArcGISRuntimePlugin_compatibility());
# endif
#endif
QGuiApplication app(argc, argv);
// Use of Esri location services, including basemaps and geocoding, requires
// either an ArcGIS identity or an API key. For more information see
// https://links.esri.com/arcgis-runtime-security-auth. That compatibility block is necessary for iOS when using Qt 6.3 or later, but it should work with our 200.1.0 release as long as that block is present.
... View more
04-28-2023
08:51 AM
|
0
|
4
|
2491
|
|
POST
|
@arcgisdev007it's taking me some time to track down that exact config so we can try it on our end. I have everything except macOS Ventura, and I'm not sure if that alone would make much difference. I even tried again with the exact project name and it still worked. Are you able to try the qputenv mentioned above early in main.cpp and see if that helps to identify any additional issues? You should get some extra logging when you try to run the app that may be useful. Can you confirm this block of code exists in main.cpp? We just recently put this in as a workaround for compatibility problems with Qt 6.3 and later on iOS. #if defined(Q_OS_IOS)
# if QT_VERSION >= QT_VERSION_CHECK(6, 3, 0)
extern const QStaticPlugin qt_static_plugin_ArcGISRuntimePlugin_compatibility();
qRegisterStaticPluginFunction(qt_static_plugin_ArcGISRuntimePlugin_compatibility());
# endif
#endif This was only added to our templates with the 200.1.0 release. It would be needed with qmake or cmake, so I assume it's there if cmake is working for you.
... View more
04-27-2023
12:06 PM
|
0
|
6
|
2504
|
|
POST
|
@arcgisdev007that's good progress. Can you share some more details about the Android debugger not working? That may fall under general app development and nothing specific with using the ArcGIS Maps SDK for Qt. When running a QML app on iOS Simulator, try adding this to main.cpp and check if there's any additional output that will help identify the culprit. qputenv("QT_DEBUG_PLUGINS", "1"); I just did a quick test and I was able to build and run on iOS Simulator with this config: Xcode 14.2 macOS Monterey 12.6.5 Qt 6.4.3 CMake Intel mac iOS Simulator iPhone SE (3rd generation) iOS 16.2 Build config: Release ArcGIS Maps SDK for Qt: 200.1.0
... View more
04-25-2023
04:07 PM
|
0
|
8
|
2532
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 4 weeks ago | |
| 1 | 10-22-2025 03:59 PM | |
| 1 | 06-18-2025 10:30 AM | |
| 1 | 06-18-2025 08:43 AM | |
| 1 | 05-15-2025 01:10 PM |
| Online Status |
Offline
|
| Date Last Visited |
4 weeks ago
|