Guest User

Untitled

a guest
Feb 17th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. for value in arrayOfPolylines {
  2. mapView.addAnnotation(value)
  3.  
  4. //This is for the first and last snakehead and tail stuff
  5. let lastLoc = value.coordinate.latitude
  6. let newLoc = value.coordinate.longitude
  7.  
  8. let firstCor = value.coordinates[0].latitude
  9. let secondCor = value.coordinates[0].longitude
  10. ...
  11.  
  12. value.coordinates[value.coordinates.count] //This does not compile as it says
Add Comment
Please, Sign In to add comment