Implement scale_factor as an option for mapnik layers.