refactor mapnikprovider render method