Qt QML - create my own shape in Qt Location

时间:2017-12-18 06:02:59

标签: qt qml qquickitem qtlocation

I'm currently working on a Qt Quick application that will provide a map viewer. I want to create irregular shapes (more than one shape) and then put them on the map. is it a good way to do this with QQuickPaintedItem (Writing QML Extensions with C++) or is there another way to do this? or is it anyway to create my own shape like MapCircle (for example MapCustom) in Map Viewer?

1 个答案:

答案 0 :(得分:0)

如果你的形状不需要进行地理配准(比如顶点不一定是实际的地理坐标),但你只想让占位符显得特别,你可能想要QtQuick Shapes一个去