fix: typos in map.js
Merge pull request #2409 from vicb/patch-1

fix: typos in map.js