I am trying to use the Outsystems map component but am having some issues. I have the Google Maps API key setup correctly, and most of the time the maps render perfectly, but sometimes they do not render at all. Whenever I load the map screen in my app, I see a warning that says, "Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading." as well as a series of other warnings (see screenshot). How do I add a callback to the Outsystems map component? Will adding a callback fix the rendering issue? Any help or advice on this topic would be greatly appreciated
Hello @Charlie Highum,
Could you please share a module where that can be reproducible and give the steps to reproduce it?Which version are you using?In version 1.6.5, we fixed a similar issue since Google API changed how it deals with mandatory callback calls. But it only presented a warning and never blocked the Map initialization. We'll wait for the information requested to try to see if this is something new since we can't reproduce and it is the first report of this.
Cheers,GM
I updated the Outsystems Maps to version 1.6.5 and it appears to have fixed the issue for now at least. Thanks for the help!