Fix MapRectangle 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.

Change-Id: I14578adb2fc393983a3c1be901241d78949c9dde
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit02357b4e73f48566cda168f58025cf13a26ade5b
parent2a5a2dd5495ca899dfb60eb219ab9fd41a2a25fc
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeThu, 19 Apr 2018 11:46:06 +0000