MapImageOverlay constructor

MapImageOverlay(
  1. Point2D viewCoordinates,
  2. MapImage image
)

Creates an instance of an overlay at given view coordinates, represented by specified image.

  • viewCoordinates The overlay's view coordinates in pixels.

  • image The image to draw on the map.

Implementation

factory MapImageOverlay(Point2D viewCoordinates, MapImage image) => $prototype.$init(viewCoordinates, image);