Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

varis darasirikul
varis darasirikul
10,832 Points

Troubles with google maps Challenge task 2

On line 13, set the "address" key in the "geocoderOptions" to "Magic Kingdom, Disney World" And i already wrote this below.

var geocoderOptions = {address: "Disney World,Magic Kingdom"};

it doesn´t work. and i don't know what wrong? and this is link to a Challenge task (task 2) http://teamtreehouse.com/library/build-an-interactive-website/google-maps-integration/adding-point-markers-to-a-map-geocoding

2 Answers

Tom Mertz
Tom Mertz
15,254 Points

Hi Varis,

Try typing it out exactly like the questions asked, maybe that's your problem:

var geocoderOptions = {address: "Magic Kingdom, Disney World"};

Good luck!