Edit mapFactory to reject promise if err instead of just console.log
Merge pull request #37 from atungare/dev

Edit mapFactory to reject promise if err instead of just console.log