"inRoute URL Scheme"

-"inRoute URL Scheme"


Developers can use inRoute’s URL Scheme to send lists of route locations to inRoute as “coordinates” or as “searches”. Routes can be created in the same order as the input locations or the waypoint order can be optimized, and routes can include up to 150/25/5 locations at a time (Pro/Premium/Free plans).

Coordinate Format Specify each location with the name you want to use for the pin, and its latitude & longitude. To optimize the waypoint order after import, use the keyword “action=opt” preceding the route location list (at least 4 route locations are required for optimization to have an effect): inroute://coordinates?action=opt&loc={name 1}/{latitude 1}/{longitude 1}&loc={name 2}/{latitude 2}/{longitude 2} An example with two locations: inroute://coordinates?action=opt&loc=Lazy K’s/47.648434/-121.914307&loc=Greek Food/47.739555/-121.985924 To pass these two locations to inRoute, percent encode the string: inroute://coordinates?action=opt&loc=Lazy%20K’s/47.648434/-121.914307&loc=Greek%20Food/47.739555/-121.985924 Note: Each additional location is added with “&loc={name i}/{latitude i}/{longitude i}” Search Format Specify each location with the name you want to use for the pin, and a search term used to find the location (address or place name). To optimize the waypoint order after import, use the keyword “action=opt” preceding the route location list (at least 4 route locations are required for optimization to have an effect): inroute://searches?action=opt&loc={name 1}/{search term 1}&loc={name 2}/{search term 2} An example with two locations; the first a search using a place name, and the second a search based on an address: inroute://searches?action=opt&loc=Lazy K’s/Lazy K’, Carnation WA 98014&loc=Greek Food/15410 Main St NE, Duvall WA 98019 inroute://searches?action=opt&loc=Lazy%20K’s/Lazy%20K’,%20Carnation%20WA%2098014&loc=Greek%20Food/15410%20Main%20St%20NE,%20Duvall%20WA%2098019 Note: Each additional location is added with “&loc={name i}/{search term i}”