The problem was that the code never attempted to identify a marker position if the fire geometry type was MultiPolygon. This change accounts for those geometries by "flattening" the array of polygons into a single polygon (not perfect, but works OK in practice!).
…position
The problem was that the code never attempted to identify a marker position if the fire geometry type was
MultiPolygon
. This change accounts for those geometries by "flattening" the array of polygons into a single polygon (not perfect, but works OK in practice!).This change is