fixes using MapConfig.getName instead of mapName
Merge pull request #1915 from gurbuzali/fix-mapConfigName/3.x

fixes using MapConfig.getName instead of mapName