Google have added Polylines and Polygons to
Maps API v3 and made some great improvements to their use. Polylines and polygons allow you to draw lines or filled regions on a map, specify stroke and fill styles, and handle events.
Now you can create polygons with holes like in this
Pentagon example.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAYvkbKyE-x0YuTy6WQ6gby1Mj4G-6tyUPTBP89MS2RplVr9OCUD5vI2m_RvC2Vl6nUgwUliptQ0w8jabo-3fNsjU-p_nJqnfoCuFzbph3ZepmYkI4a1YLT3xBjjTXwbn_524cuCqo185H/s400/earth.jpg)
You can also now create vertices with polygons as in this
fractal snowflake poly example.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixwvtAixrIAgpXNJVl8BKGEX5zC81mipT-pEhC05QHsW_U0cWMs1lhIY2TUglPdQ0T8Z8PCBUT1I-iunngm4WEgJX7TMxSQtMknp13W3dLbocsbaO4u61kIC7ccnifTZkGQDCTYAMlIj1X/s400/earth.jpg)
Via:
Google Geo Developers Blog_____________
0 comments:
Post a Comment