JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Gallery
Pack Building Roadmap - Maker Stories Webinar
Share
Explore
Gallery
Pack Building Roadmap - Maker Stories Webinar
Pack Building Roadmap - Maker Stories Webinar
Webinar Outline
Roadmap
Travel Brief App
App Highlights
Pack Makers' Checklist
Pack Builder Interface
Pack Types
Pack Details & Code
TBCountries Code
TravelBriefData Code
Pack Data & Formulas
API Data
My Pack Formulas
Daylight | Weather Formulas
Wikipedia Pack
Data Tables
Getting Started with Packs
Build your Pack
Improve your Pack
Hello Fetcher Sample Code
Questions | Feedback
All Comments
Notes
Pack Data & Formulas
Daylight | Weather Formulas
Sunrise-Sunset Pack
The
Daylight formula
in the Sunrise-Sunset pack uses the:
LatLng
Table (Latitude and Longitude by Country)
Daylight Table
Daylight Table
Daylight Table
Country
Latitude
Longitude
Daylight formula
Country
Latitude
Longitude
Daylight formula
1
Denmark
56.26392
9.501785
17 hrs 1 min 15 secs
There are no rows in this table
The Column formulas
👇 in the
Daylight Table
👆
Latitude:
2. Longitude:
3. Daylight:
The Daylight formula is displayed in the canvas column on the app as:
Weather Pack
The Weather pack uses the latitude and longitude coordinates from the
LatLng
table to display the current weather in the app.
Named formula:
TextLatLng
Concatenate(Daylight Table.Latitude],',',Daylight Table.Longitude).Totext( )
Outputs the latitude and longitude for the selected country
56.26392,9.501785
Example Result:
Current(TextLatLng) -
Sunny
See the
Coda | Weather Pack
documentation in the Coda Gallery for more details.
Sunrise-Sunset Pack
Daylight Table
Weather Pack
Gallery
Share
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.