|
POST
|
I have a region item consisting of 4 corners and a polygon constructed by those corners. I want to alert the user when another moving Graphic (simple one with a marker) enters into that polygon. How can I understand that my region contains a specific Graphic?
... View more
07-05-2021
05:27 AM
|
0
|
2
|
1439
|
|
POST
|
Hi @LukeSmallwood , we managed to display city boundaries by using the shapefile but we couldn't find a way to extract the city names from shapefile. We want to add city names as a label to the feature layer. There is a CITY_NAME column in the .dbf file but should we instead explore the .shp file for city names? Is there a tool to see the list of attributes in the .shp file?
... View more
07-05-2021
03:30 AM
|
0
|
3
|
3710
|
|
POST
|
Thanks for the answer @LukeSmallwood . Could you give us the link to export tiles with labels? We haven't decided yet about using the shapefile. Thanks in advance.
... View more
07-02-2021
03:28 AM
|
0
|
5
|
3732
|
|
POST
|
I have an offline map consisting of world imagery tiles. If we want to add city labels as markers and text items, which method should we follow? We have a shape file containing city texts and locations, would that be useful?
... View more
06-30-2021
12:25 AM
|
0
|
7
|
3800
|
|
POST
|
Thanks @JamesBallard1 , for the reply. What I wanted to ask is : When 2 or more Graphics overlap and user clicks on them, which one would be selected with mouse click? All of them or only the topmost one? And how can I assure that the one I want to be clicked is at the top?
... View more
06-25-2021
12:00 AM
|
0
|
1
|
1816
|
|
POST
|
Hi @LeeCarter , I just wanted to say that we had a similar problem like yours and we solved it by using ImageOverlay. We had a constantly changing QImage coming from network as raw data and we managed to display it on SceneGraphicsView. You can convert QPixmap to QImage if you want to use ImageOverlay. void MainMapWidget::slotRadarImageChanged(const QImage &image){
std::unique_ptr<ImageFrame> m_imageFrame = std::make_unique<ImageFrame>(image, m_pacificSouthwestEnvelope, this);
m_imageOverlay->setImageFrame(m_imageFrame.get());
}
... View more
06-24-2021
06:39 AM
|
0
|
1
|
3771
|
|
POST
|
We have a 3D SceneGraphicsView and several GraphicOverlays on that view. We want to give priority to some certain type of Graphics when user clicks on it. When another Graphic overlaps with that certain type, we want that certain type of Graphic to be selected. How can we achieve this? If we could give Z value to a GraphicOverlay instead of a single Graphic that would be OK too.
... View more
06-24-2021
06:35 AM
|
0
|
3
|
1839
|
|
POST
|
We are using ServiceImageTiledLayer to display our offline map tiles on local disk as below: setTileUrl(tileKey, QUrl(QString("/home/fatma/world_imagery_arcgis/%1/%2/%3.png").arg(
QString::number(tileKey.level()),
QString::number(tileKey.column()),
QString::number(tileKey.row())))); If the image tiles were on a remote computer or server on local network, how would I retrieve the image tiles? We do not want map tiles to reside on the same computer with the executable.
... View more
06-11-2021
12:50 AM
|
0
|
3
|
1812
|
|
POST
|
I have a Graphic that can be moved by mouse drag. When user drags this Graphic onto another type of Graphic, I want to perform an action. How can I understand that user drags the item onto another one?
... View more
06-09-2021
05:08 AM
|
0
|
1
|
1230
|
|
POST
|
Hi @Nicholas-Furness , I managed to get the clicked Graphic by using the method you suggested. However I am getting segmentation faults while dynamic casting the Graphic to the class that inherits the Graphic. mpSelectedRulerNode->setGeometry(destinationPoint); Even if I don't make any dynamic_cast, above code causes a SEGFAULT.
... View more
06-07-2021
05:48 AM
|
0
|
1
|
1652
|
|
POST
|
Is there a way to understand that user clicks on a specific Graphic on the map?
... View more
06-02-2021
05:56 AM
|
0
|
3
|
1693
|
|
POST
|
Hi @JaredCaccamo , Thank you for the detailed answer. Unfortunately I am not using QML. Should I use QComboBox in this case? In fact I only need a pop-up button ("Delete") when user right clicks on a graphic. After user clicks on that button, graphic will be deleted from the map.
... View more
06-02-2021
05:22 AM
|
0
|
1
|
1940
|
|
POST
|
Hi @JaredCaccamo , I have solved my issue by changing my graphic overlay's SurfacePlacement to Draped. It was like below: setSceneProperties(LayerSceneProperties(SurfacePlacement::Absolute)); I changed it to: setSceneProperties(LayerSceneProperties(SurfacePlacement::Draped));
... View more
06-01-2021
11:40 PM
|
0
|
1
|
2094
|
|
POST
|
I have some Graphics (lines, circles etc.) displayed on the tiled map layer. They tend to disappear when user zooms in. What might be causing this behaviour?
... View more
05-28-2021
06:32 AM
|
0
|
4
|
2136
|
|
POST
|
Is there a way to enable user to see a drop down menu when he/she right clicks to the map? And when he selects one of the items in that menu, some action needs to be performed.
... View more
05-26-2021
06:53 AM
|
0
|
3
|
2034
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-16-2022 11:27 PM | |
| 1 | 08-16-2022 11:32 PM | |
| 1 | 02-10-2022 10:50 PM | |
| 1 | 09-02-2021 11:53 PM | |
| 1 | 08-24-2021 06:53 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-18-2025
10:58 PM
|