Initial work on map setting up the legends for layers
Fixed incorrect construction of parameters
Removed debug messages
Do not consider layers with no legend for legend placements
Merge remote-tracking branch 'origin/fix_zoom' into fix_legend

* origin/fix_zoom:
  Use a lower value for near plane
  Some more styles fixes
  Fixed run time error by adding missing variable separation
  Style fixes
  Tweaked compute zoom just a bit
  Fixed tiles not covering the entire region
  Fixing tiles not covering the entire viewport at high zoom
  Fixed zoom not behaving properly
Use orange color for legend text
Fixing various issues with animations
Use base class members
Fixed arrays not getting cleared up
Merge remote-tracking branch 'origin/fix_legend' into next

* origin/fix_legend:
  Fixed arrays not getting cleared up
  Use base class members
  Fixing various issues with animations
  Use orange color for legend text
  Do not consider layers with no legend for legend placements
  Removed debug messages
  Fixed incorrect construction of parameters
  Initial work on map setting up the legends for layers

Conflicts:
	web/apps/archive/archive.js
Removed debug messages
Merge remote-tracking branch 'origin/fix_legend' into next

* origin/fix_legend:
  Removed debug messages