Do not use getView2D in the examples
Merge pull request #516 from elemoine/no-getview2d-in-examples

Do not use getView2D in the examples