The radius
parameter is an optional parameter that can be:
url
argument in the $Trumba.addSpud() method.trumbaEmbed
parameter in a URL-encoded query string.Identifies the distance away from a specific latitude and longitude location that an event can occur and still be displayed in a spud. (Distance is based on the flight rather than the driving distance.)
Must be accompanied by the latitude (lat
) and longitude (lon
) URL parameters.
Note The radius parameter works only when events listed in a spud are mapped.
url
argument, $Trumba.addSpud() method, Main calendar spudIn the default main calendar view, displays only events that occur within 50 miles (or kilometers) 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 (or kilometers) 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 (or kilometers) 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.