No-Library (pure JS), HTML, CSS, JavaScript
Raster source example
Example of simple mapgl polygon drawing