CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development

Introduction

CartoType is a portable C++ library for drawing maps, calculating routes and providing navigation instructions. It uses map files created using the makemap tool supplied with the package.

The Framework API

The CFramework class is the main API for CartoType and allows you to build CartoType into your application.

You create a single CFramework object and keep it in existence while your program is running. It provides access to everything you need, including map drawing, adding your own data to the map, handling user interaction, searching, route calculation and turn-by-turn navigation.

The classes CFrameworkEngine and CFrameworkMapDataSet, in conjunction with CFramework, allow you to use the model-view-controller pattern. Usually, however, CFramework is all you need.