Update map-canvas.js