1. 24
    Group 2 - Managing Map Data
    1m 1s

Group 2 - Managing Map Data

Colby Fayock
InstructorColby Fayock
Share this video with your friends

Social Share Links

Send Tweet
Published 4 years ago
Updated 4 years ago

We've finished adding a map to our custom basemap style and adding markers. Now, the second lesson group is going to be about what makes maps impactful, the data, managing and creating it.

The following lessons are going to be about managing Leaflet State in a React app with hooks, creating your first GeoJSON document and adding your favorite restaurant locations, and lastly adding restaurant info to your GeoJSON document and display it in a tooltip on the map. Let's dig into some data!

Colby Fayock: [0:00] Hey, mappers. Welcome to Lesson Group Two. In our first lesson group, we added a map to our app with a custom-based map style. We even added a marker. The second lesson group is going to be about getting serious about what makes maps impactful, the data. We're going to walk through both managing that data and how to actually create it.

[0:16] Our first lesson will be about managing Leaflet state. Leaflet is a window-based API. While we have React components, managing the state between the two can get a little complex. We're going to learn how we can use React hooks to solve that challenge.

[0:27] In our second lesson, we're going to learn about the geospatial data format, GeoJSON. It's just a simple JSON document. We're going to walk through what makes it special. We'll also figure out how you can create your own.

[0:37] With that data, we'll add it to our map with markers. When dealing with restaurants, the location isn't the only thing that matters. Customers want to know what they serve and how to contact them.

[0:45] In our third lesson, we're going to learn how to add info to each of those restaurant locations. We'll use popups and we'll learn how to add them programmatically. This is one of the more impactful group of lessons. We'll build a foundation for how we can dynamically add data to our map.

[0:58] Ready to dig in some data? Let's get started with the first lesson of our group.

egghead
egghead
~ 17 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today