Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Marble
Commits
c60490dc
Commit
c60490dc
authored
Oct 03, 2022
by
Torsten Rahn
Browse files
Minor fix for previous commit.
parent
905fc19b
Pipeline
#241246
passed with stage
in 7 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/lib/marble/declarative/GeoPolyline.cpp
View file @
c60490dc
...
...
@@ -54,8 +54,8 @@ namespace Marble
if
(
m_map
)
{
QPolygonF
displayPolygon
;
displayPolygon
<<
QPointF
(
0
,
0
)
<<
QPointF
(
m_map
->
mapWidth
()
,
0
)
<<
QPointF
(
m_map
->
mapWidth
(),
m_map
->
mapHeight
())
<<
QPointF
(
0
,
m_map
->
mapHeight
());
displayPolygon
<<
QPointF
(
-
10
,
-
1
0
)
<<
QPointF
(
m_map
->
mapWidth
()
+
10
,
-
1
0
)
<<
QPointF
(
m_map
->
mapWidth
()
+
10
,
m_map
->
mapHeight
()
+
10
)
<<
QPointF
(
-
1
0
,
m_map
->
mapHeight
()
+
10
);
m_screenPolygons
.
clear
();
QVector
<
QPolygonF
*>
fullScreenPolygons
;
bool
success
=
m_map
->
screenCoordinatesFromGeoDataLineString
(
lineString
,
fullScreenPolygons
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment