Hi guys, I’m having trouble with google maps, the website Lighthouse is giving me this information about Third-party code. I think that probably if I could use Lasy-load on the map, the problem should solve itself. How can I do that? Or am I wrong?
You are using the Map widget so you have no control over how it is rendered. That is Google. The recommendations you get to lazy load from lighthouse are just general recommendations. On sites where I am optimizing for performance, I don’t use the Map widget, rather I usually display a static map image and provide a direction link that takes them to a map where they can get directions.