Language selection

Search


Distance calculator

Using the Natural Resources Canada Geogratis Geolocation service to provide the distance between a known set of coordinates and an address provided by the user.

GCWeb implementation plan

Todo and for future consideration

Sponsor: Donald McDill Sites management, Service Canada

Classes used

Distance calculator settings


"form":".distance-form",
"location":".distance-location",
"selector":".distance-item",
"section":".distance-items",
"target":".distance",
"sort":".distance-sort",
"display":{"selector":".distance-visible","removeClass":"hidden"},
"name":".distance-title"
form
"form":".distance-form"

Selector for form where location is submitted

location
"location":".distance-location"

Selector for input where location is entered

selector
"selector":".distance-item"

Selector identifying the items in the collection to be updated with distance.

section
"section":".distance-items"

Selector defining the collection of items

target
"target":".distance"

Selector to identify element to update with formatted distance

sort
"sort":".distance-sort"

Selector to identify element to update with unformatted distance number

display
"display":{"selector":".distance-visible","removeClass":"hidden"}

Object with options to display content when distance is calculated.

selector
"selector":".distance-visible"

Selector for all elements to be revealed

removeClass
"removeClass":"hidden"

Class to be removed when results are displayed

name
"name":".distance-title"

Selector to identify element to update with returned name for provided location

Adding distance to event list

Filter options

Language
Event location

Events

  • Ask PAC Anything!

    Friday August 5th, 2022 | 12:00 PM to 1:00 PM

    Location: Online, Language: English, French

  • Bidding on Opportunities

    Wednesday August 10th, 2022 | 2:00 PM to 3:30 PM

    Location: Vancouver, Language: English

  • Doing business with the Government of Canada (Webinar)

    Thursday August 11th, 2022 | 12:00 PM to 2:00 PM

    Location: Ottawa, Language: English

  • Ask PAC Anything!

    Friday August 12th, 2022 | 12:00 PM to 1:00 PM

    Location: Online, Language: English

  • Bidding on opportunities (Webinar)

    Thursday August 18th, 2022 | 12:00 PM to 2:00 PM

    Location: Ottawa, Language: English

  • Ask PAC Anything!

    Friday August 19th, 2022 | 12:00 PM to 1:00 PM

    Location: Online, Language: English

  • Workshop to register in the Supplier Registration Information (SRI) system and in the Indigenous ness Directory (IBD) for Indigenous-led businesses

    Thursday August 25th, 2022 | 9:30 AM to 11:00 AM

    Location: Ottawa, Language: French

  • Doing Business with the Government of Canada

    Thursday August 25th, 2022 | 1:30 PM to 3:00 PM

    Location: Montreal, Language: French

  • Doing Business with the Government of Canada

    Thursday August 25th, 2022 | 2:00 PM to 3:30 PM

    Location: Vancouver, Language: English

  • Ask PAC Anything!

    Friday August 26th, 2022 | 12:00 PM to 1:30 PM

    Location: Online, Language: English

  • Mythbusting Federal Government Procurement and Overview of Innovation for Defence, Excellence and rity (IDEaS)

    Tuesday August 30th, 2022 | 10:00 AM to 11:00 AM

    Location: Toronto, Language: English

  • Register as supplier and find opportunities on BuyAndSell.gc.ca

    Tuesday August 30th, 2022 | 1:30 PM to 3:00 PM

    Location: Montreal, Language: French

  • Federal Procurement Virtual Drop-in Café

    Wednesday August 31th, 2022 | 3:00 PM to 4:00 PM

    Location: Toronto, Language: English

Page details

Date modified: