MSFMapRendererListener
Objective-C
@interface MSFMapRendererListener : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
Swift
class MSFMapRendererListener : NSObject
Listener for specific map renderer events.
-
Listener method that gets called when the rendering surface initialized and its size is updated. The method can be used to check when it is safe to call methods that depend on view size, like moveToFitBounds, screenToMap, mapToScreen. This method is called from GL renderer thread, not from main thread.
Declaration
Objective-C
- (void)onSurfaceChanged:(int)width height:(int)height;Swift
func onSurfaceChanged(_ width: Int32, height: Int32) -
Listener method that gets called when the rendering surface initialized and its size is updated. The method can be used to check when it is safe to call methods that depend on view size, like moveToFitBounds, screenToMap, mapToScreen. This method is called from GL renderer thread, not from main thread.
Declaration
Objective-C
- (void)onSurfaceChangedSwigExplicitMSFMapRendererListener:(int)width height:(int)height;Swift
func onSurfaceChangedSwigExplicitMSFMapRendererListener(_ width: Int32, height: Int32) -
Listener method that gets called at the start of the rendering frame. The method can be used to synchronize vector elements with renderer state, for example to force marker to be always at the center of the screen (focus point). This method is called from GL renderer thread, not from main thread.
Declaration
Objective-C
- (void)onBeforeDrawFrame;Swift
func onBeforeDrawFrame() -
Listener method that gets called at the start of the rendering frame. The method can be used to synchronize vector elements with renderer state, for example to force marker to be always at the center of the screen (focus point). This method is called from GL renderer thread, not from main thread.
Declaration
Objective-C
- (void)onBeforeDrawFrameSwigExplicitMSFMapRendererListener;Swift
func onBeforeDrawFrameSwigExplicitMSFMapRendererListener() -
Listener method that gets called at the end of the rendering frame. This method is called from GL renderer thread, not from main thread.
Declaration
Objective-C
- (void)onAfterDrawFrame;Swift
func onAfterDrawFrame() -
Listener method that gets called at the end of the rendering frame. This method is called from GL renderer thread, not from main thread.
Declaration
Objective-C
- (void)onAfterDrawFrameSwigExplicitMSFMapRendererListener;Swift
func onAfterDrawFrameSwigExplicitMSFMapRendererListener() -
Undocumented
Declaration
Objective-C
-(id)init;Swift
init!() -
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()