While using tools may be easier and more productive, it's always important to understand the fundamentals and be able to write something by hand. We'll practice by adding a new location to our GeoJSON document by hand!
Resources
Instructor: [0:00] Here I have a marker for a restaurant in DC. What if I wanted to add another marker manually? To get started, let's first copy that feature from before where we can add it right below.
[0:07] The biggest difference for this feature is we're going to have different coordinates. Say, we wanted our second restaurant to be HomeSlyce DC. Similar before, we can right click that area and get what's here. We can copy and paste the latitude and longitude. This time if you noticed that the latitude and longitude aren't in the same order as they were before.
[0:21] Different mapping interfaces use different inputs for latitude and longitude. While one might be latitude and longitude, you might have another that's longitude and latitude. We'll want to make sure that we're matching these values up, so we're using the right latitude and longitude in all the right spots.
[0:34] Now that we have our correct second location, we can see that we have two markers on the map.