Clean up: move code into right place, remove dead code


QGeoMapItemGeometry::geoDistanceToScreenWidth was unused, so remove it.
Move path/pathMercator projection helpers to QGeoMapItemGeometry, they
are used in items other than the rectangle items.

In mapbox plugin, call static helper from correct class.

Change-Id: I5645f503a24e23e295211da32e98f995b8c17b56
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commitc40b5fdffaa4ff23c27974665eebdeacefa5b03a
parentf92b88e99f2802f85af10e6e19c9c5e6800ee75c
authorVolker Hilsheimer <volker.hilsheimer@qt.io>
committerVolker Hilsheimer <volker.hilsheimer@qt.io>
commit timeThu, 6 Oct 2022 13:28:06 +0200