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!
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

Giovanni Giannola
1,119 PointsGet geolocation onclick issue (Using google maps api v3)
Im trying to build a map that shows the location when I click a button outside the google maps.
I am taking the map from the Google maps api v3 as the tell me to and I'm also able to get the user location with a maker and even the infowindow shows up but as soon as I add everything into a single function and try to call it from the HTML it doesn't work but the map keeps showing so I'm guessing the code doesn't have any errors. I'm probably missing something in my code.... .... .... I will leave my code here so maybe someone can help me out with this Thanks
Giovanni Giannola
1,119 PointsGiovanni Giannola
1,119 Points