       .attr('class', (d) -> "highway highway-#{d.properties.grade}")
 
   render = ->
-    projection
-        .scale(s0 * sc)
-        .translate([t0[0] * sc + tr[0], t0[1] * sc + tr[1]])
-
     segments.selectAll('.segment')
         .attr('d', path)
 


    projection.translate(t0 = [width / 2, height / 2])

    zoom.scale(sc = 1).translate(tr = [0, 0])

    actionbar.attr('transform', "translate(0, #{height - ACTIONBAR_HEIGHT})")
    actionbar.select('.background').attr('width', width)

    showLocation()
    renderScale()

  updateProjection = (new_sc, new_tr) ->
    sc = new_sc
    tr = new_tr
    projection
        .scale(s0 * sc)
        .translate([t0[0] * sc + tr[0], t0[1] * sc + tr[1]])

  zoom.on 'zoom', ->
    updateProjection(d3.event.scale, d3.event.translate)
    render()
    updateSymbols()
    showLocation()
