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 AJAX Basics (retiring) AJAX Concepts Introducing AJAX

matt thurmond
matt thurmond
8,499 Points

When I move google maps around, why aren't XMLHttpRequests being logged?

I checked the box to log the requests and am not seeing them. Is google maps using a different technology now? If they are, is there another site you would recommend for viewing these logs in the console? Thanks!

1 Answer

2 options: one might be that your browser has already cached that request so doesn't need to make it again (if you've already moved your map around before you checked the logs). The other might be that they just don't register in the console anymore: in Chrome's Developer Tools, click on the "Network" tab. When I look there, a bunch of JS calls are logged when I move a map around. You can click on any of the logs to get more info about it.

matt thurmond
matt thurmond
8,499 Points

Thanks Eric. I went to a new map area and wasn't able to view them in the console, but I was able to see a bunch of the request and response data in the network tab after clicking on the 'XHR and Fetch' filter.