summaryrefslogtreecommitdiffstats
path: root/src/imports/location/qdeclarativepolygonmapitem.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2013-08-16 10:02:13 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-02 14:30:40 +0200
commitd35d28017d731dba9e2a4f2622d2cec97e724e55 (patch)
treefd1fbbaeb20c641ca868a424f3ee051c7c6c3a28 /src/imports/location/qdeclarativepolygonmapitem.cpp
parentea5f625ab90406d7407bc961b90b3993230dd03a (diff)
Split QtLocation into QtPositioning and QtLocation
QtPositioning is not dependent on any gui component and mostly covers everything around the retrieval of position information. QtLocation covers place, map and navigation APIs. Several documentation issues were fixed during the process. Change-Id: I98e2a53065549a2fc43f93a75b4f65b5bc884c92 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/imports/location/qdeclarativepolygonmapitem.cpp')
-rw-r--r--src/imports/location/qdeclarativepolygonmapitem.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/imports/location/qdeclarativepolygonmapitem.cpp b/src/imports/location/qdeclarativepolygonmapitem.cpp
index 6eedb2c7..c10fe03a 100644
--- a/src/imports/location/qdeclarativepolygonmapitem.cpp
+++ b/src/imports/location/qdeclarativepolygonmapitem.cpp
@@ -43,7 +43,7 @@
#include "qgeocameracapabilities_p.h"
#include "qlocationutils_p.h"
#include "error_messages.h"
-#include "locationvaluetypeprovider.h"
+#include "locationvaluetypehelper_p.h"
#include <QtGui/private/qtriangulator_p.h>
#include <QtQml/QQmlInfo>
@@ -71,10 +71,10 @@ QT_BEGIN_NAMESPACE
\brief The MapPolygon type displays a polygon on a Map
The MapPolygon type displays a polygon on a Map, specified in terms of an ordered list of
- \l {QtLocation::coordinate}{coordinates}. For best appearance and results, polygons should be
+ \l {QtPositioning::coordinate}{coordinates}. For best appearance and results, polygons should be
simple (not self-intersecting).
- The \l {QtLocation::coordinate}{coordinates} on the path cannot be directly changed after
+ The \l {QtPositioning::coordinate}{coordinates} on the path cannot be directly changed after
being added to the Polygon. Instead, copy the \l path into a var, modify the copy and reassign
the copy back to the \l path.
@@ -344,10 +344,13 @@ QDeclarativePolygonMapItem::~QDeclarativePolygonMapItem()
}
/*!
+ \qmlpropertygroup Location::MapPolygon::border
\qmlproperty int MapPolygon::border.width
\qmlproperty color MapPolygon::border.color
- These properties hold the width and color used to draw the border of the circle.
+ This property is part of the border property group. The border property
+ group holds the width and color used to draw the border of the circle.
+
The width is in pixels and is independent of the zoom level of the map.
The default values correspond to a black border with a width of 1 pixel.