MIssing Map JS?

https://dev.shieldconstruction.net/wp-content/themes/pro/framework/dist/js/site/x.js.map

The home page is erroring from this file call…

https://dev.shieldconstruction.net/

I am using an element configured with API key.

Hello @verobeachmarketing,

Thanks for writing in! The missing *.map files do not refer to your Google Maps. The warning message in the console refers to the SourceMaps and they can be ignored. Those errors are just missing SourceMaps. They are requested by developer tools when possible, but won’t interfere with anything.

Basically it’s a way to map a combined/minified file back to an unbuilt state. When you build for production, along with minifying and combining your JavaScript files, you generate a source map that holds information about your original files. When you query a certain line and column number in your generated JavaScript you can do a lookup in the source map which returns the original location.

Hope this helps.

How do I get the map to display?

Hi @verobeachmarketing,

You need to have a valid Google Maps Javascript API from Google in order for your map to display.

https://developers.google.com/maps/documentation/javascript/error-messages#api-not-activated-map-error

Hope that helps.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.