CartoType iOS API 7.8.2, 2022-03-25
for development in Swift and Objective C for iOS and Mac OS
Instance Methods | List of all members
CartoTypeMapRenderer Class Reference

#import <CartoTypeFramework.h>

Inheritance diagram for CartoTypeMapRenderer:

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


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