Skip to content

Commit

Permalink
Altitude limit
Browse files Browse the repository at this point in the history
  • Loading branch information
PokemonGoSucks authored Dec 9, 2016
1 parent 49cf3cf commit e23400c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Example/PGoApi/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ class ViewController: UIViewController, PGoAuthDelegate, PGoApiDelegate {
request = PGoApiRequest(auth: auth)

// Set the latitude/longitude of player.
// Altitude should be included, but it is optional and defaults to 6.0
request!.setLocation(Double(latField.text!)!, longitude: Double(longField.text!)!, altitude: 67.61)
// Altitude should be included, but it is optional and defaults to 10.1
request!.setLocation(Double(latField.text!)!, longitude: Double(longField.text!)!, altitude: 10.1)

// Simulate the start, which cues methods:
// getPlayer(), getHatchedEggs(), getInventory(), checkAwardedBadges(), downloadSettings()
Expand Down

0 comments on commit e23400c

Please sign in to comment.