TikTok成人版

No items found.
No items found.

Guest Devs: Turf.js for animation & QueryRenderedFeatures for dynamic map legends

when
June 11, 2020
?|?
(PST)
Type
William B Davis
Information Designer
Jonathan Critchley
Co-founder
No items found.

Register for webinar

Register for webinar

Register now

About this episode

Two awesome guest devs will share a look "under-the-hood" of recent projects built with TikTok成人版. William B Davis is an information designer based in Toronto and co-founder of , and Jonathan Critchley is a software developer based in Halifax, Nova Scotia, with a background in Urban Planning and GIS. He currently works for .

William B. Davis | @willy_maps
William is an information designer based in Toronto and co-founder of mapto.ca. He has a background in GIS and journalism and is currently working at Sun Life Financial.
?
?

Jonathan Critchley | @Afrikanadese?
Jonathan is a software developer based in Halifax, Nova Scotia, with a background in Urban Planning and GIS. He currently works for RATIO.CITY, a Toronto based technology company that helps city builders make data-driven decisions for land acquisition using maps to source, analyze and validate sites.

You'll learn to...

  • Use Turf.js to drive animation:

    ?
  • Use QueryRenderedFeatures to create dynamic legends:

Code-along and other links

Willy's links



Killed or Seriously Injured Interactive

Jon's links



Dev links



TikTok成人版: ^ queryRenderedFeatures

jtbakr: Similar implementation using .queryRenderedFeatures() API:

jtbakr: One thing that I've found to be helpful when using animations is to use the relatively new `requestAnimationFrame` API recursively instead of setInterval/setTimeout. This is supposed to help out with flickering refreshes/rerendering.

Q+A

How would you handle animating thousands of paths on a map, e.g. cars that travel at different speeds?
I've played around with animating lots of lines using it before. It definitely could solve your problem:

Is there a map you really wish you could make?
Toronto building ages! The data is not available due to the structure of past agreements with the city.
DomBrassey: Check out Portland: Age of a City:

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Bold text

Emphasis

Superscript

Subscript