Working geo fencing code with google sample code