intersectionGeoBoxes static method
- List<
GeoBox> geoBoxes
Computes intersection of list of GeoBox instances.
The altitude values are ignored. Limitation: Geo boxes are considered as non-intersecting if they overlap only on a single point, horizontal line or vertical line.
Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.
geoBoxesList of GeoBox instances.
Returns List<GeoBox>. It will be empty if there is no overlap between all the passed GeoBox instances.
Otherwise, 1 or more geo boxes covering common area by all the passed GeoBox instances.
Implementation
static List<GeoBox> intersectionGeoBoxes(List<GeoBox> geoBoxes) => $prototype.intersectionGeoBoxes(geoBoxes);