The lat
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 latitude value.
Must be accompanied by the longitude (lon
) and radius (radius
) URL parameters.
Note The latitude parameter works only when events listed in a spud are mapped.
Tip Latitude values that omit the plus or minus sign are assumed to be north.
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.