Rewrote GPS, LinesAndPoints and Mapviewer samples.