- Endpoint($("input[name='route_from']"), OSM.MARKER_GREEN, endpointDragCallback),
- Endpoint($("input[name='route_to']"), OSM.MARKER_RED, endpointDragCallback)
+ Endpoint($("input[name='route_from']"), OSM.MARKER_GREEN, endpointDragCallback, endpointGeocodeCallback),
+ Endpoint($("input[name='route_to']"), OSM.MARKER_RED, endpointDragCallback, endpointGeocodeCallback)