POST
|
Hello imbachb, Thank you to report this. I was able to reproduce the problem. This is caused by an invalid QSGNode in MapQuickView. We will fix that. A possible workaround is to clean up manually the nodes used to render the attribution text. For that, create a new class that derives from MapQuickView and override updatePaintNode functions to remove the children nodes of the root node. class MyView : public MapQuickView {
Q_OBJECT
public:
QSGNode* updatePaintNode(QSGNode* node, UpdatePaintNodeData* data) {
// the QSGNode used to render the map
auto* mapViewNode = MapQuickView::updatePaintNode(node, data);
// clean up children nodes if the attribution text is not visible
if (mapViewNode && !attributionTextVisible()) {
auto* child = mapViewNode->firstChild();
while (child) {
mapViewNode->removeChildNode(child);
delete child;
child = node->firstChild();
}
}
return mapViewNode;
}
}; Let me know if this works for you. Guillaume
... View more
06-25-2025
12:25 PM
|
1
|
1
|
315
|
POST
|
Hello LeeCarter Sorry for the delay to reply. We will look at this internally and get back to you quickly to give a more precise answer. Thank you Guillaume
... View more
01-27-2025
11:03 AM
|
0
|
0
|
897
|
POST
|
Documentation for TextSymbol is here https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-textsymbol.html#TextSymbol-1. Most of the time, when you have an error about "invalid use of incomplete type 'Esri::ArcGISRuntime::Xxx'", you can fix that by adding the corresponding header #include "Xxx.h". For enumerations, there is usually a XxxTypes.h header to include. For example, for HorizontalAlignment enum, the header is #include "SymbolTypes.h". https://developers.arcgis.com/qt/cpp/api-reference/symboltypes-h.html#HorizontalAlignment-enum You can find the header to include using the search box in API reference https://developers.arcgis.com/qt/cpp/api-reference/, the header is specified in the top of the page for each class and enumeration.
... View more
07-24-2024
09:17 AM
|
1
|
0
|
1655
|
POST
|
I believe 100.x doesn't work with any version of 6, correct? Correct. And 100.x doesn't work with Qt6. Qt follows the same rule about API break in major release https://doc.qt.io/qt-6/qt-releases.html
... View more
07-23-2024
08:25 PM
|
0
|
0
|
1728
|
POST
|
Hello, 1.) Will ArcGIS Maps 200.3 work with 5.15.2? ( I'm having a hard time finding the old system requirements) The documentation for system requirement is here https://developers.arcgis.com/qt/system-requirements/prior-releases/system-requirements-for-200-3. For 200.3, Qt 6.5.1 or higher is supported. 2.) Will I have a hard time moving my current code using 100.13 to 200.3? Change in major version means there are some API breaks. But usually, it's easy to fix errors. You can compare sample code changes between 100.13 and 200.3 to see what was changed. Don't hesitate to ask if you encounter any errors you don't know how to solve. Guillaume
... View more
07-23-2024
06:47 PM
|
0
|
1
|
1752
|
POST
|
Hi, What do you means by: "when I adopt the same libraries to my application"?
... View more
06-11-2024
09:41 AM
|
0
|
0
|
571
|
POST
|
Hi, if you have an Internet connection upon application startup, then lose it later This sample shows how to generate an offline map, this step requires to be online to get the data. But when you have an offline map (the mmpk file in sample), you can use it offline. Here's a sample to open a mmpk file: https://developers.arcgis.com/qt/cpp/sample-code/open-mobile-map-map-package/ All details about offline maps (and others offline solutions): https://developers.arcgis.com/qt/offline-maps-scenes-and-data/ Guillaume
... View more
06-03-2024
10:13 AM
|
0
|
1
|
1045
|
POST
|
Hello, You can create points (and other ArcGIS objects) using `ArcGISRuntimeEnvironment.createObject`. See samples for code example: https://github.com/Esri/arcgis-maps-sdk-samples-qt/blob/main/ArcGISRuntimeSDKQt_QMLSamples/Geometry/CreateGeometries/CreateGeometries.qml#L144 Note that QML API is deprecated in 200.4 and will be removed in future: https://www.esri.com/arcgis-blog/products/sdk-qt/announcements/qml-api-deprecation-and-roadmap/. It's possible to create the points with C++ API and expose them to QML.
... View more
05-22-2024
08:41 AM
|
0
|
0
|
585
|
POST
|
Hello, We confirm we can reproduce this problem. This will be fixed in the next release. There are not workaround for the moment. Thank you
... View more
12-21-2023
10:56 AM
|
0
|
0
|
937
|
POST
|
Hi, Sorry, I was on vacation. I'll work on your issue this week. Thank you
... View more
12-04-2023
10:50 AM
|
0
|
0
|
891
|
POST
|
Hello radimbachb, Can you provide the code to create the arcade script? Which platform and version of SDK are you using? Thank you Guillaume Belz
... View more
12-04-2023
10:47 AM
|
0
|
1
|
1009
|
POST
|
Hello, I tried to reproduce this issue, but everything looks good (Mac, Qt 6.5.3, ArcGIS Maps SDK for Qt 200.2). Which platform do you use? Is there some specific moves to do to reproduce it? Thank you
... View more
11-01-2023
04:47 PM
|
0
|
1
|
994
|
POST
|
Hello, The minimal version for ArcGIS Maps SDK for Qt 200.2 is Qt 6.5.1. https://developers.arcgis.com/qt/release-notes/release-notes-for-200-2/
... View more
10-23-2023
09:06 AM
|
1
|
0
|
898
|
POST
|
Hello, I'm running a 24 hours test to check if I can reproduce the problem (200.2, Windows). There was a known issue before 100.14 with memory leak in symbols. Maybe it's related. Did you tried an updated version of SDK (last version is 100.15)? Did you see a memory leak? EDIT: I ran this test more than 30 hours (Windows, 200.2) without problem. It looks like it's specific to an old version of SDK.
... View more
10-03-2023
10:43 AM
|
0
|
0
|
1342
|
POST
|
Hello, I tried with a new 3D project with C++/Widgets API, on Mac and Windows, with version 200.2, but I can't reproduce the problem. m_graphicsOverlay = new GraphicsOverlay(this);
m_sceneView->graphicsOverlays()->append(m_graphicsOverlay);
constexpr int N =1000;
for (int i = 0; i < N; ++i)
{
Esri::ArcGISRuntime::TextSymbol* m_symbol = nullptr;
m_symbol = new TextSymbol("a symbol", QColor(Qt::red), 10.0, HorizontalAlignment::Center, VerticalAlignment::Bottom, this);
m_symbol->setOffsetX(10);
m_symbol->setOffsetY(10);
m_graphic = new Graphic(Point(randInRange(10000), randInRange(10000), 10000000), m_symbol, this);
m_graphic->attributes()->insertAttribute("source", "text in attribute");
m_graphic->attributes()->insertAttribute("id", 1234);
m_symbols.push_back(m_symbol);
m_graphicsOverlay->graphics()->append(m_graphic);
}
QTimer *timer = new QTimer(this);
connect(timer, &QTimer::timeout, this, [this]()
{
for (int i = 0; i < N; ++i)
{
m_symbols[i]->setText(QString::number(randInRange(100000)));
}
});
timer->start(1000); Can you add more details to reproduce this problem? - Which version of SDK? - How many symbols? - How long to wait to reproduce the problem? Thank you
... View more
10-02-2023
10:50 PM
|
0
|
1
|
1349
|
Title | Kudos | Posted |
---|---|---|
1 | 06-25-2025 12:25 PM | |
1 | 07-24-2024 09:17 AM | |
1 | 10-23-2023 09:06 AM | |
1 | 09-21-2023 05:51 PM | |
1 | 09-27-2023 10:13 AM |
Online Status |
Offline
|
Date Last Visited |
07-08-2025
08:36 AM
|