addOverlays(overlays)
Adds multiple overlays to the map.
Declaration
addOverlays(overlays: Overlay[]): Overlay[];Parameters
- overlays:
An array of overlays to add.
Return Value
Returns the array of overlays.
Discussion
MapKit JS adds the overlays to the end of the map’s overlays array.