Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // get a SimpleGeo feature
- [client getFeatureWithHandle:@"SG_7L9nQHjsporBjZUz8KVt5t"
- zoom:nil // polygon complexity (optional)
- callback:[SGCallback callbackWithSuccessBlock:
- ^(id response) {
- // you've got a feature!
- // to create an SGFeature object...
- SGFeature *feature = [SGFeature featureWithGeoJSON:response];
- } failureBlock^(NSError *error) {
- // handle failure
- }]];
Add Comment
Please, Sign In to add comment