OS system requirements: iOS 4.2 or later.
Mobile device: iPad.
This example describes creating a map with the following parameters:
Data is loaded from file.
Bar and pie factors are displayed for map layer areas with the AU, RU and US identifiers.
Color scale is set up.
Legend is displayed.
Tooltips displayed on map area touch are set up.
Map appearance:
After executing the example the development environment console displays a notification that map topobase is in the SVG format.
AppDelegate.h/.m. Parameters of the application, where a map is created.
data.txt. Data file.
Localizable.strings. A list of keys and their values used for application localization.
main.m. Main file of source code.
MapDataSource.h/.m. Data get parameters from file.
MapVisuals_Prefix.pch. Common title.
ViewController.h/.m. Map parameters.
world.svg. Used map topobase.
See also: