We construct a planar version of the natural extension of the piecewise linear transformation T generating greedy β-expansions with digits in an arbitrary set of real numbers A = {a 0 , a 1 , a 2 }. As a result, we derive in an easy way a closed formula for the density of the unique T -invariant measure µ absolutely continuous with respect to Lebesgue measure. Furthermore, we show that T is exact and weak Bernoulli with respect to µ.