Creating Polylines and Polygons
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.
KeywordsSimple Polygon Regular Array Path Property Driving Direction Polygon Object
Unable to display preview. Download preview PDF.