Remove unused RegExp, thanks @fredj
Dispatch 'precompose' event for ol.renderer.canvas.VectorLayer
Export ol.Map#render function
Simplify export-map example by removing jpeg output
Use 'postcompose' event to export the map as png image
Remove ol.Map#getRenderer function
Remove renderer.Map#getCanvas function