Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Help: Adding Point Markers to a Map - Task 4/6

Is it me or is this really hard to understand??

I am stuck at:

If "google.maps.GeocoderStatus.OK" is the same as the status create a "google.maps.Marker" in "theMap" and at the position of the first element in "results", like in the video and push it on to the "markers" array.

1 Answer

It's not you, I struggled as well; for me I think it was more the way the question was being asked. I had a hard time understanding it. But any way there was a previous post with like 18 replies that deals with this challenge in detail. Look under the the tag "code challenge" and look for the post "Build and interactive website > Code challenge: Adding point markers to a map - step 4/6" - reading it should help you to clarify things.