| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- //
- // HomeLocationViewController.h
- // kneet
- //
- // Created by Jason Lee on 4/23/15.
- // Copyright (c) 2015 ntels. All rights reserved.
- //
- @import MapKit;
- #import "JDViewController.h"
- @class CustomTextField2;
- @class CustomLabel;
- @class CustomButton;
- @class CustomRadioButton;
- @class CustomRadioGroup;
- @class JDGeofenceAnnotation;
- @interface HomeLocationViewController : JDViewController {
- @protected
- UILongPressGestureRecognizer *_pressGesture;
- JDGeofenceAnnotation *_pinAnnotation;
- MKCircle *_pinCircle;
- BOOL _isEnableLocatonService;
- NSDictionary *_sensorInfo;
- BOOL _isRequestUserLocation;
- CustomRadioGroup *_rgroup;
- }
- #pragma mark - Properties
- @property (weak, nonatomic) IBOutlet CustomLabel *lblLocationDesc;
- @property (weak, nonatomic) IBOutlet MKMapView *mapView;
- @property (weak, nonatomic) IBOutlet CustomTextField2 *txtKeyword;
- @property (weak, nonatomic) IBOutlet CustomButton *btnCurrentLocation;
- @property (weak, nonatomic) IBOutlet CustomRadioButton *rdoRadius100;
- @property (weak, nonatomic) IBOutlet CustomRadioButton *rdoRadius300;
- @property (weak, nonatomic) IBOutlet CustomRadioButton *rdoRadius500;
- @property (weak, nonatomic) IBOutlet CustomRadioButton *rdoRadius1000;
- @property (weak, nonatomic) IBOutlet CustomButton *btnRegister;
- #pragma mark - Instance Methods
- - (void)addAnnotation:(id<MKAnnotation>)annotation;
- - (IBAction)btnCurrentLocationTouched:(id)sender;
- - (IBAction)btnSearchAddrTouched:(id)sender;
- - (IBAction)btnRegisterTouched:(id)sender;
- - (IBAction)btnRegisterLaterTouched:(id)sender;
- @end
|