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
Kyle Brooks
6,753 PointsCode Challenge: Adding Point Markers to a Map - Geocoding - Challenge 2 of 2
Task: On line 13, set the "address" key in the "geocoderOptions" to "Magic Kingdom, Disney World"
Script I tried:
var geocoderOptions = {address: "Magic+Kingdom,+Disney+World"};
I've tried a variety of things, but keep getting a similar error.
Error: Bummer! The "address" key hasn't been set correctly
2 Answers
Riley Hilliard
Courses Plus Student 17,771 PointsAhh, you are soo so close! I won't give you the full answer, but will give you a couple big hints: Your issue is in your quotes and +'s formatting: Make the key in quotes, and replace your value's +'s with spaces.
var geocoderOptions = {"theKey": "where you want, to map"};
Kyle Brooks
6,753 Pointsgot it! Didn't need those stupid plus signs anyways ;)