CartoType iOS API 7.8.2, 2022-03-25
for development in Swift and Objective C for iOS and Mac OS
|
#import <CartoTypeFramework.h>
Instance Methods | |
(id) | - init: |
(void) | - draw |
A map renderer using OpenGL ES graphics acceleration.
- (void) draw |
Draws the map using OpenGL ES.
- (id) init: | (CartoTypeFramework *) | aFramework |
Constructs a renderer object that can be used to draw a CartoTypeFramework into a GLKView (a view which supports OpenGL ES drawing). The CartoTypeMapRenderer draw method should be called by the GLKView drawRect method. You can call any function on the framework object; functions which affect the view will automatically cause the GLKview to be updated when drawRect is called.