Skip to content
Pack Building Roadmap - Maker Stories Webinar
  • Pages
    • 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
      • icon picker
        Daylight | Weather Formulas
      • Wikipedia Pack
    • Data Tables
    • Getting Started with Packs
      • Build your Pack
      • Improve your Pack
      • Hello Fetcher Sample Code

Daylight | Weather Formulas

Sunrise-Sunset Pack

The Daylight formula in the Sunrise-Sunset pack uses the:
Table (Latitude and Longitude by Country)
Daylight Table
Country
Latitude
Longitude
Daylight formula
Denmark
56.26392
9.501785
17 hrs 1 min 15 secs
There are no rows in this table
The Column formulas 👇 in the 👆
Latitude:
image.png
2. Longitude:
image.png
3. Daylight:
image.png
The Daylight formula is displayed in the canvas column on the app as:
image.png

Weather Pack

The Weather pack uses the latitude and longitude coordinates from the 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) -
Weather icon
Sunny
See the documentation in the Coda Gallery for more details.
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.