JXGooMapVC.h 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. //
  2. // JXGooMapVC.h
  3. // shiku_im
  4. //
  5. // Created by Apple on 16/12/6.
  6. // Copyright © 2016年 Reese. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #ifdef USE_GOOGLEMAP
  10. #import <GoogleMaps/GoogleMaps.h>
  11. #endif
  12. @interface JXGooMapVC : UIViewController {
  13. ATMHud * _wait;
  14. }
  15. #ifdef USE_GOOGLEMAP
  16. @property (nonatomic,strong) GMSMarker * lastMarkerView;//上次被选择的大头针
  17. #endif
  18. @property (nonatomic,assign) double locX;
  19. @property (nonatomic,assign) double locY;
  20. @property (nonatomic,assign) float zoomLevel;
  21. @property (nonatomic,strong) NSMutableArray * nearbyData;//数据源
  22. @property (nonatomic,strong) UIButton * resetLoca;
  23. @property (nonatomic,assign) int dataType;//依据VC获取不同的数据
  24. @property (nonatomic,assign) int currentDataType;//依据VC获取不同的数据
  25. @property (nonatomic,strong) NSMutableArray * allMarkerView;//所有标签
  26. @property (nonatomic,strong) UIView * scaleView;//放大缩小按钮父视图
  27. @property (nonatomic,assign) int fnId;
  28. @property (nonatomic,assign) int cityId;
  29. @property (nonatomic,assign) int currentIndex;//当前显示ScrollView的index,点击后展示
  30. @property (nonatomic,assign) CGPoint lastContentSet;//旧的位置,用于判断ScrollView左划还是右划
  31. @property (nonatomic,assign) int direction;//ScrollView左划还是右划
  32. @property (nonatomic,strong) UIScrollView * resumeScrolView;
  33. @property (nonatomic,strong) UIScrollView * topScrolView;
  34. @property (nonatomic,strong) UIView * topMinView;
  35. @property (nonatomic,strong) UIView * scrollBackground;
  36. @property (nonatomic,strong) UIView * jobDetailOne;
  37. @property (nonatomic,strong) UIView * jobDetailTwo;
  38. @property (nonatomic,strong) UIView * jobDetailThree;
  39. //标题
  40. @property (nonatomic,strong) UILabel * titleLabelOne;
  41. @property (nonatomic,strong) UILabel * titleLabelTwo;
  42. @property (nonatomic,strong) UILabel * titleLabelThree;
  43. //付费方式
  44. @property (nonatomic,strong) UILabel * payLabelOne;
  45. @property (nonatomic,strong) UILabel * payLabelTwo;
  46. @property (nonatomic,strong) UILabel * payLabelThree;
  47. //详情
  48. @property (nonatomic,strong) UILabel * detailLabelOne;
  49. @property (nonatomic,strong) UILabel * detailLabelTwo;
  50. @property (nonatomic,strong) UILabel * detailLabelThree;
  51. //头像
  52. @property (nonatomic,strong) UIImageView * headImageOne;
  53. @property (nonatomic,strong) UIImageView * headImageTwo;
  54. @property (nonatomic,strong) UIImageView * headImageThree;
  55. //昵称
  56. @property (nonatomic,strong) UILabel * nameLabelOne;
  57. @property (nonatomic,strong) UILabel * nameLabelTwo;
  58. @property (nonatomic,strong) UILabel * nameLabelThree;
  59. //认证
  60. @property (nonatomic,strong) UIImageView * identImageOne;
  61. @property (nonatomic,strong) UIImageView * identImageTwo;
  62. @property (nonatomic,strong) UIImageView * identImageThree;
  63. //信誉积分背景
  64. @property (nonatomic,strong) UIImageView * integralImageOne;
  65. @property (nonatomic,strong) UIImageView * integralImageTwo;
  66. @property (nonatomic,strong) UIImageView * integralImageThree;
  67. //信誉积分
  68. @property (nonatomic,strong) UILabel * integralLabelOne;
  69. @property (nonatomic,strong) UILabel * integralLabelTwo;
  70. @property (nonatomic,strong) UILabel * integralLabelThree;
  71. //距离
  72. @property (nonatomic,strong) UILabel * distanceLabelOne;
  73. @property (nonatomic,strong) UILabel * distanceLabelTwo;
  74. @property (nonatomic,strong) UILabel * distanceLabelThree;
  75. @property (nonatomic, strong) searchData *search;
  76. - (instancetype)initWithFrame:(CGRect)frame andType:(int)dataType;
  77. -(void)getDataByCurrentLocation;
  78. @end