Guest User

Untitled

a guest
Jan 22nd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. // get a SimpleGeo feature
  2.  
  3. [client getFeatureWithHandle:@"SG_7L9nQHjsporBjZUz8KVt5t"
  4. zoom:nil // polygon complexity (optional)
  5. callback:[SGCallback callbackWithSuccessBlock:
  6. ^(id response) {
  7. // you've got a feature!
  8. // to create an SGFeature object...
  9. SGFeature *feature = [SGFeature featureWithGeoJSON:response];
  10. } failureBlock^(NSError *error) {
  11. // handle failure
  12. }]];
Add Comment
Please, Sign In to add comment