MSFVectorTileEventListener
Objective-C
@interface MSFVectorTileEventListener : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
Swift
class MSFVectorTileEventListener : NSObject
Listener for vector tile element events like clicks etc.
-
Listener method that gets called when a click is performed on a vector tile feature. Elements at the click position are called closest to the camera first; returning true stops there, false passes the click to the next one. This method will not be called from the main thread.
Declaration
Objective-C
- (BOOL)onVectorTileClicked:(MSFVectorTileClickInfo *)clickInfo;Swift
func onVectorTileClicked(_ clickInfo: MSFVectorTileClickInfo!) -> BoolParameters
clickInfoA container that provides information about the click.
Return Value
True if the click is handled and subsequent elements should not be handled. False if the next element should be called.
-
Listener method that gets called when a click is performed on a vector tile feature. Elements at the click position are called closest to the camera first; returning true stops there, false passes the click to the next one. This method will not be called from the main thread.
Declaration
Objective-C
- (BOOL)onVectorTileClickedSwigExplicitMSFVectorTileEventListener: (MSFVectorTileClickInfo *)clickInfo;Swift
func onVectorTileClickedSwigExplicitMSFVectorTileEventListener(_ clickInfo: MSFVectorTileClickInfo!) -> BoolParameters
clickInfoA container that provides information about the click.
Return Value
True if the click is handled and subsequent elements should not be handled. False if the next element should be called.
-
Undocumented
Declaration
Objective-C
-(id)init;Swift
init!() -
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()