NTVectorTileClickInfo
@interface NTVectorTileClickInfo : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
A container class that provides information about a click performed on vector tile feature.
-
Checks if this object is equal to the specified object.
Declaration
Objective-C
- (BOOL)isEqual:(id)object;
Parameters
object
The reference object.
Return Value
True when objects are equal, false otherwise.
-
Returns the hash value of this object.
Declaration
Objective-C
- (NSUInteger)hash;
Return Value
The hash value of this object.
-
Returns the click type.
Declaration
Objective-C
- (enum NTClickType)getClickType;
Return Value
The type of the click performed.
-
Returns the click position.
Declaration
Objective-C
- (NTMapPos *)getClickPos;
Return Value
The click position in the coordinate system of the data source.
-
Returns the position on the clicked feature, that is close to the click position. For points it will always be the center position, for lines it will be the closest point on the line, for billboards it will be the anchor point and for polygons it’s equal to getClickPos().
Declaration
Objective-C
- (NTMapPos *)getFeatureClickPos;
Return Value
The feature click position in the coordinate system of the data source.
-
Returns the tile id of the clicked feature.
Declaration
Objective-C
- (NTMapTile *)getMapTile;
Return Value
The tile id of the clicked feature.
-
Returns the id of the clicked feature.
Declaration
Objective-C
- (long long)getFeatureId;
Return Value
The id of the clicked feature.
-
Returns the clicked feature.
Declaration
Objective-C
- (NTVectorTileFeature *)getFeature;
Return Value
The feature on which the click was performed.
-
Returns the name of the layer of the clicked feature. Note that this is the layer name in the tile, not the name of style layer.
Declaration
Objective-C
- (NSString *)getFeatureLayerName;
Return Value
The name of the layer of the clicked feature.
-
Returns the layer of the vector tile.
Declaration
Objective-C
- (NTLayer *)getLayer;
Return Value
The layer of the vector tile.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;