CartoType iOS API 9.0-11-g64131709d
for development in Swift and Objective C for iOS and Mac OS
|
#include <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: | (CtFramework *) | aFramework |
Constructs a renderer object that can be used to draw a CtFramework into a GLKView (a view which supports OpenGL ES drawing). The CtMapRenderer 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.