Fix MapPolyline QQuickItem geometry to allow enabling layers


The geometry now considers the line width, so that, when enabling
layers, the item won't be incorrectly clipped at the borders.

Task-number: QTBUG-38459
Change-Id: I82c1e49c914a4a1219bb1f1ec3a70ff7bfbfbcfe
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commitf0bc0db15ed262a8f31bb07b3b46a5cdf9277e79
parent1ced79ad7cc256eb82113e3419cb09926ceae9c3
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeThu, 22 Mar 2018 13:31:22 +0000