Creating Polylines and Polygons

  • Gabriel Svennerberg


The Google Maps API has two classes for dealing with geometric shapes. These are polylines and polygons. These shapes provide you with the necessary tools for marking roads, borders, and other areas. One area where polylines are particularly useful is to track different paths, such as creating driving directions or tracking a jogging path. Polygons, on the other hand, are very useful when you want to highlight a certain geographic area, such as a state or a country.


Simple Polygon Regular Array Path Property Driving Direction Polygon Object 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Gabriel Svennerberg 2010

Authors and Affiliations

  • Gabriel Svennerberg

There are no affiliations available

Personalised recommendations