MAPolygonView.h 635 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // MAPolygonView.h
  3. // MAMapKitNew
  4. //
  5. // Created by AutoNavi.
  6. // Copyright (c) 2014年 Amap. All rights reserved.
  7. //
  8. #import "MAOverlayPathView.h"
  9. #import "MAPolygon.h"
  10. /*!
  11. @brief 此类是MAPolygon的显示多边形View,可以通过MAOverlayPathView修改其fill和stroke attributes
  12. */
  13. @interface MAPolygonView : MAOverlayPathView
  14. /*!
  15. @brief 根据指定的多边形生成一个多边形view
  16. @param polygon 指定的多边形数据对象
  17. @return 新生成的多边形view
  18. */
  19. - (id)initWithPolygon:(MAPolygon *)polygon;
  20. /*!
  21. @brief 关联的MAPolygon model
  22. */
  23. @property (nonatomic, readonly) MAPolygon *polygon;
  24. @end