Below you can see the front-view size comparison of the Pentax WG-3 GPS and Panasonic GX7. The Pentax WG-3 GPS is 7 mm shorter and 22 mm thinner than the Panasonic GX7 but it is also 2 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.