       }
     )
     directionsLayer.addFeatures([sourceFeature, targetFeature])
-    map.zoomToExtent(directionsLayer.getDataExtent())
 
   enable = (elementId) ->
     $("##{ elementId }").prop("disabled", false)

    $("#directions").html("<ol><li>" + directions.join("</li><li>") + "</li></ol>")

  drawDirections = (directions) ->
    sourceNode = directions[0].nodes[0]
    sourcePoint = new OpenLayers.Geometry.Point(sourceNode.longitude, sourceNode.latitude)
      .transform(EPSG4326Projection, map.getProjectionObject())

              }
            )
        nodesLayer.addFeatures(features)

  retrieveDirections = () ->
    destination = $("#destination").val()
