Google Maps API Tutorial© 2007, 2008, 2009 Mike Williams
|Translate this page:|
EPolys v2Version 2 of the EPoly extension runs much faster by storing intermediate information about the polys, rather than recalculating everything each time it gets called.
The downside of this is that it will not notice any changes that are made to the polys.
If the geometry of your polys might possibly change, e.g. by using enableEditing(), insertVertex() or deleteVertex(), then use version 1 of the EPoly extension.
Version 2 also uses more memory than version 1, to store the intermediate information.