Replace for-loop with LayerStore's each-function in applyState
Merge pull request #295 from chrismayer/todo-map-applyState

Replace for-loop with LayerStore's each-function in applyState