[Google Maps API] Not getting a location

I’m testing out the Google Maps API integration along with the sample program to see if I can locate my device. Here’s the documentation I’m reading: https://docs.particle.io/tutorials/integrations/google-maps/

I’m trying out the sample firmware. The documentation says this:

but my console is only getting this:

So it’s only getting the first “deviceLocator” publishing, and not the location “hook-” publishing

Figured it out: Looks like the sample app was updated but the documentation wasn’t. The new sample app looks like this:

I didn’t realize the locationCallback() function was added there to allow the programmer to do what they want with the location it received back. Adding this code published the location to my Events feed: