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

General Discussion

Google Maps

Hi Everyone,

I am wanting add google maps into my website and only have one marker I would like displayed. In the treehouse video two markers are displayed and the zoom set by the bounds. I am wondering how you set the zoom or bounds for displaying only one marker.

Thanks,

Adam

1 Answer

It has been a while since I did this, but I think if you go to google maps, look-up the address, zoom the map to the level you want it, and then click the link to get the code, there is an "advanced" feature that lets you set the size, zoom, etc. of all that stuff.

I also haven't gotten to whatever video you;re referencing, but I hope that helps.