CartoType iOS API 9.0-11-g64131709d
for development in Swift and Objective C for iOS and Mac OS
Loading...
Searching...
No Matches
CtMapRenderer Class Reference

#include <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: