(refactor) Removed unused code in mapFactory module in map/services.js