Search Header Logo

Module 1.3 Questions

Authored by Courtney Yatteau

Computers

12th Grade

Used 1+ times

Module 1.3 Questions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What method do you use to fetch a GeoJSON file in JavaScript?

getData()

loadJSON()

fetch()

requestGeo()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

After fetching a file, what do you chain to parse it as JSON?

.parseJSON()

.toJSON()

.then(res => res.json())

.jsonParse(res)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What Leaflet method turns GeoJSON data into a map layer?

L.layerGroup()

L.geoJSON()

L.jsonLayer()

L.mapData()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option logs each feature's properties?

L.bindPopup()

console.log(layer)

onEachFeature

addEventListener

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you count the number of features in a layer?

layer.countFeatures()

map.featureCount()

layer.getLayers().length

features.length

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What method returns a layer's spatial bounds?

layer.extent()

layer.getZoom()

layer.getBounds()

layer.center()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you zoom the map to a layer's bounds?

map.zoomTo()

map.fitBounds()

map.setZoom()

map.setExtent()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?