Add support for polling for drawing layer data and displaying it