CHAPTER
 
9
Interactive Drawing: The Basics of Drawing on Google Maps
In preceding chapters, you learned how to place markers to identify points of interest on the map, and how to draw shapes (lines and polygons) on the map. The process of creating a geometric shape and placing it on the map is straightforward, as long as you know the coordinates of its vertices. For example, you can easily place a colored polygon that fits your property, as long as you know the coordinates of your property’s vertices. This map, however, is static. The only way to change the shape on the map is to edit the page’s script and provide the new, corrected, coordinates.
In this chapter, you learn how to design applications that enable users to truly interact ...

Get Google Maps 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.