Chapter    10

Displaying Objects on the Map

Map Kit allows you to display objects of different types on the map. You can represent annotations, which are points to which an icon and a balloon are associated (elements that in the Google Maps JavaScript API were called marker and info window) and overlays, which are objects defined by several coordinates, such as lines and polygons. In this chapter I show you different methods to create annotations and overlays, and I demonstrate ways to customize them.

Working with Annotations

Annotations (which in the Google Maps JavaScript API are called “markers” and in Google Earth are called “placemarks”) allow you to represent a point primitive, which is an object anchored to the map in one point identified ...

Get Pro iOS Geo: Building Apps with Location Based Services now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.