CartoType C++ API  5.4.97, 2018-12-03
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.