CartoType iOS API 9.2-12-g6c2dcf66f
for development in Swift and Objective C for iOS and Mac OS
Instance Methods | List of all members
CtMapRenderer Class Reference

#import <CartoTypeFramework.h>

Inheritance diagram for CtMapRenderer:

Instance Methods

(id) - init:
 
(void) - draw
 

Detailed Description

A map renderer using OpenGL ES graphics acceleration.

Method Documentation

◆ draw

- (void) draw

Draws the map using OpenGL ES.

◆ init:

- (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.


The documentation for this class was generated from the following file: