hooks up new snapToRoute method in geojson
pulling out irrelevant code in app