Screen
Screen object. It supports rendering in an OpenGL context. It is possible to use the rendering in two ways:
Render on demand. The UI requests the screen to be rendered in the attached context.
Render automatically. For example when the map is scrolled or rotated the map is rendered automatically in the attached context and the UI is notified when finished. View objects require a Screen in order to be created. After creation a View will hold a strong pointer to its Screen.
Properties
Functions
Handle a screen touch event with the given id, see TouchEvent for types
Hit test returns the map service under the given screen coordinates. With float type: coordinates are screen fraction ( 0 - 1.f )
Hit test returns the map service under the given screen coordinates. With int type: coordinates are screen
True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object
Mark screen with pending render request
Reset screen context. The context is lost and the screen will reset all its resources Notifies screen that the attached OpenGLContext has changed. This will trigger updates in the SDK textures, font etc.
Handles a scroll event