Canvas is a part of a screen object custom rendered by the user
Canvas companion
Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.
The parent screen
Get view viewport in parent screen coordinates
Get screen viewport in parent screen ratio
Make a screen region capture of the current map in JPEG format. No cursor/on-screen info is included.
Detach canvas from rendering process If OpenGL context is not available anymore during canvas destruction, this method should be called when the context is still valid in order to do all needed cleanups
Overrides finalize that garbage collector will call when needed.
Handles a keyboard event
Check if canvas is a MapView object
True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object
Checks if this object is valid.
Releases the native referenced value of this object if:
Resize the view