Merge pull request #1 from wet-boew/master

Merge with latest from master.
Minor markup changes, reworked legend so that it renders in mobile mode, and forced map to full width in mobile mode.
Merge pull request #2 from wet-boew/master

Merging latest.
Fixed bug where legend wasn't rendered correctly in mobile mode.
Minor formatting change.
Minor edits

Fixed issues noted by @nschonni and set missing tiles display to "none".
Merged with latest
Removed commented code.
Removed unnecessary variable declaration and fixed demonstration popup content.
Merge pull request #2762 from jvanulde/master

Fixed issue where legend was not rendered properly in mobile mode