Fix #83 - Added null check for mapPadding on map in layout listener.
Merge pull request #84 from vreixo/issue83

Fix #83 - Added null check for mapPadding on map in layout listener.