ol-ext: layer preview

Get a preview image for a layer.
It will add a getPreview(lonlat, res) function to layers to get an image preview of it.
Preview: