Fix out of scope variables in ol.Map
Merge pull request #650 from twpayne/fix-out-of-scope-variables

Fix out of scope variables in ol.Map