---
title: Overlay
framework: mapkitjs
role: symbol
role_heading: Class
path: mapkitjs/overlay
---

# Overlay

An abstract base object that defines the methods and properties for map overlays.

## Declaration

```data
abstract class Overlay extends EventTarget
```

## Mentioned in

Adding interactivity to overlays

## Overview

Overview Overlays inherit from an abstract base object, Overlay, and share some common properties with Annotation that allow you to control the visibility and interaction with the map in the same way. This object is abstract and you can’t instantiate it.

## Topics

### Setting overlay options

- [data](mapkitjs/overlay/data.md)
- [visible](mapkitjs/overlay/visible.md)
- [enabled](mapkitjs/overlay/enabled.md)
- [selected](mapkitjs/overlay/selected.md)
- [style](mapkitjs/overlay/style.md)
- [map](mapkitjs/overlay/map.md)

## Relationships

### Inherits From

- EventTarget

### Inherited By

- [CircleOverlay](mapkitjs/circleoverlay.md)
- [PolygonOverlay](mapkitjs/polygonoverlay.md)
- [PolylineOverlay](mapkitjs/polylineoverlay.md)

## See Also

### Overlays

- [Adding interactivity to overlays](mapkitjs/adding-interactivity-to-overlays.md)
- [Style](mapkitjs/style.md)
- [CircleOverlay](mapkitjs/circleoverlay.md)
- [PolylineOverlay](mapkitjs/polylineoverlay.md)
- [PolygonOverlay](mapkitjs/polygonoverlay.md)
- [OverlayOptions](mapkitjs/overlayoptions.md)
- [TileOverlay](mapkitjs/tileoverlay.md)
- [TileOverlayUrlTemplate](mapkitjs/tileoverlayurltemplate.md)
