Classes
The following classes are available globally.
-
Declaration
Objective-C
@interface ZMSCameraPosition : NSObject <NSCopying>
Swift
class ZMSCameraPosition : NSObject, NSCopying
-
カメラ位置更新情報クラス
カメラ位置の更新(
-[ZMSMapView moveCamera:]
)・アニメーション(-[ZMSMapView animateWithCameraUpdate:Duration:]
)等で利用する。Note
初期化不可。Declaration
Objective-C
@interface ZMSCameraUpdate : NSObject
Swift
class ZMSCameraUpdate : NSObject
-
-
Declaration
Objective-C
@interface ZMSCoordinateBounds : NSObject
Swift
class ZMSCoordinateBounds : NSObject
-
Declaration
Objective-C
@interface ZMSGroundOverlay : ZMSOverlay
Swift
class ZMSGroundOverlay : ZMSOverlay
-
-
地図クラス
地図の生成・表示・コントロールを行うメインクラス。
Note
ZMSMapViewはメインスレッドから読み込まれ、更新される。
ほかのスレッドから呼び出されると、例外や未定義の動作となる。Declaration
Objective-C
@interface ZMSMapView : UIView <UIGestureRecognizerDelegate, UITableViewDataSource, UITableViewDelegate>
Swift
class ZMSMapView : UIView, UIGestureRecognizerDelegate, UITableViewDataSource, UITableViewDelegate
-
-
ミュータブルパスクラス
座標の配列を保持するクラス。
ZMSPolygon
やZMSPolyline
で使用する。
生成後も点列の変更が可能。Note
不正な値を含む点列でポリゴンを生成した場合は動作を保証しない。 -
重畳物のベースクラス
See moreZMSCircle
/ZMSGroundOverlay
/ZMSLabel
/ZMSMarker
/ZMSPolygon
/ZMSPolyline
の親クラスDeclaration
Objective-C
@interface ZMSOverlay : NSObject
Swift
class ZMSOverlay : NSObject
-
パスクラス
座標の配列を保持するクラス。
ZMSPolygon
やZMSPolyline
で使用する。
生成後の点列の変更は不可。Note
不正な値を含む点列でポリゴンを生成した場合は動作を保証しない。Declaration
Objective-C
@interface ZMSPath : NSObject <NSCopying, NSMutableCopying>
Swift
class ZMSPath : NSObject, NSCopying, NSMutableCopying
-
-
-
座標(緯度/経度)とスクリーン座標(X/Y)情報クラス
地図上の座標(緯度/経度)とスクリーン上の座標(X/Y)の情報を取得する。
ZMSMapView.projection
経由で利用する。Note
初期化不可Declaration
Objective-C
@interface ZMSProjection : NSObject
Swift
class ZMSProjection : NSObject
-
Declaration
Objective-C
@interface ZMSServices : NSObject
Swift
class ZMSServices : NSObject
-
Declaration
Objective-C
@interface ZMSUISettings : NSObject
Swift
class ZMSUISettings : NSObject