Working sample of simple GPS coding