Leaflet/Leaflet — pull request #2410 by gamb (2014-01-28 17:30:42+00:00)
Title: change unload order

After calling *map.remove()* I tried to initialise a new map on the same DOM element , after *map.on('unload')*, and came up against **''Uncaught Error: Map container is already initialized."**

I found that by firing 'unload' at the end of *remove()* I can achieve this.