Contents

overlays

An array of all of the map’s overlays.

Declaration

get overlays(): Overlay[];
set overlays(overlays: Overlay[]);

Discussion

You can set this property to a new (possibly empty) array of overlays to update or delete all the overlays on the map.

See Also

Adding and removing overlays