Full code.
Map not created as it should.