Closed justinormont closed 11 years ago
In prep for social buttons to share a route & its photo set, we should have the ability to link directly to a route & its photo set.
Perhaps in the url?
I purpose the following format: http://letsgo.io?from=San+Francisco&q=New+York+City&wp=37.783333,-122.416667,43.066667,-89.4,40.67,-73.94&pids=8158094262,6920002684,2835649418,3920850843&dpid=3908821399
Where:
q
from
wp
pids
dpid
On page load:
wp.split(';')[0]
wp.split(';')[1]
wp.split(';')[N]
pid
If from is null & wp is null, use current location as the source.
Related to #9
In prep for social buttons to share a route & its photo set, we should have the ability to link directly to a route & its photo set.
Perhaps in the url?
I purpose the following format: http://letsgo.io?from=San+Francisco&q=New+York+City&wp=37.783333,-122.416667,43.066667,-89.4,40.67,-73.94&pids=8158094262,6920002684,2835649418,3920850843&dpid=3908821399
Where:
q
: destination location name (picked up as the main search term)from
: source location namewp
: way points, including the starting and end pointspids
: selected photos (currently unused) [optional]dpid
: current photo being displayed in the large viewer [optional]On page load:
wp.split(';')[0]
towp.split(';')[1]
...wp.split(';')[N]
q
&from
terms in the search boxespid
images are loaded & included in the travel itineraryIf
from
is null &wp
is null, use current location as the source.Related to #9