Requesting instructions by default

This commit is contained in:
DennisOSRM 2012-11-20 10:49:03 +01:00
parent 210f586d49
commit aed5848f5a

View File

@ -4,7 +4,7 @@ DESTINATION_REACHED = 15 #OSRM instruction code
def request_route a,b
@query = "http://localhost:5000/viaroute?loc=#{a}&loc=#{b}&output=json"
@query = "http://localhost:5000/viaroute?loc=#{a}&loc=#{b}&output=json&instructions=true"
#log @query
uri = URI.parse @query
Net::HTTP.get_response uri