Chapter    3

Map Controls and Styles

Map controls are UI elements connected to JavaScript functions that allow users to interact with a map in many different ways. Map controls can be positioned on the map itself or outside of it. In this chapter I talk about controls positioned on the map. I’ll talk about more complex UIs containing controls positioned outside the map in the following chapter.

After talking about controls, I will show you how to use styles to customize the presentation of the map. Styles permit you to modify map features such as roads, parks, and rivers. Styles customization is a very powerful instrument that makes it possible to give a map a very specific look and feel, for instance in tune with a brand’s color and style. ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.