The lon
parameter is an optional parameter that can be:
url
argument in the $Trumba.addSpud() method.trumbaEmbed
parameter in a URL-encoded query string.Limits the events a spud displays to those that occur at or within a specific radius of a geographic location identified by a longitude value.
Must be accompanied by the latitude (lat
) and radius (radius
) URL parameters.
Note The longitude parameter works only when events listed in a spud are mapped.
Tip Longitude values that omit the plus or minus sign are assumed to be east.
url
argument, $Trumba.addSpud() method, Main calendar spudIn the default main calendar view, displays only events that occur within 50 miles of the location specified by the latitude and longitude values.
url
argument, $Trumba.addSpud() method, Upcoming events promotion spudIn an upcoming promotion spud, displays only events that occur within 250 miles of the location specified by the latitude and longitude values.
In the appropriate spuds embedded at the base URL, displays only events that occur within 100 miles of the location specified by the latitude and longitude values.
http://www.yoursite.com/calendar.html?trumbaEmbed=lat%3D47.677896%26lon%3D-122.303537%26radius%3D100
Tip %3D is the URL-encoded equals sign (=). %26 is the URL encoded ampersand (&).
In the RSS feed at the base URL, displays only events that occur within 100 miles of the location specified by the latitude and longitude values.
http://www.trumba.com/calendars/calendarwebname.rss?lat=47.677896&lon=-122.303537&radius=100
Tip In calendar feed URLs, do not include trumbaEmbed=
and do not URL-encode parameters.