       when "q"
         process.exit 0
 
-      when "z" then @zoomBy(.5)
-      when "a" then @zoomBy(-.5)
+      when "z" then @zoomBy @config.zoomStep
+      when "a" then @zoomBy -@config.zoomStep
       when "left" then @view[0] += 5
       when "right" then @view[0] -= 5
       when "up" then @view[1]+= 5


    layers:
      housenum_label:
        minZoom: 4
        color: 8
      building:
        minZoom: 12
        color: 8

      road:
        color: "white"


class Termap
  config:
    zoomStep: 1
    drawOrder: ["admin", "water", "landuse", "building", "road", "poi_label", "housenum_label"]

    icons:
      car: "🚗"
