[Google Maps] Is there a way to run Synchronously - not async

Forge Component
Published on 2019-08-06 by Labs
41 votes
Published on 2019-08-06 by Labs

I may be wrong, but I think this component load the map Async - is there a way to load sync so that I can render in compiled PDF. 

Anything that's created with JavaScript, like a Google Map is, won't be displayed on a PDF (unless you are triggering the conversion to PDF from inside the converted page; if you are doing that, you could listen for the event that says the map has finished rendering and trigger the conversion to PDF then).

For your scenario, you might want to try using Google Maps Static API, instead of Google Maps. There's also a forge component https://www.outsystems.com/forge/component-overview/542/google-static-maps-api for those.