DocRaptor HTML TO PDF API

Code Example: Google Maps

Here's how easy it is to make a DocRaptor PDF with a Google Map Static image. After getting a Google Map's API key, just get the static map image URL and put it in your document:

<!DOCTYPE html>
<html>
  <body>
    <img src="https://maps.googleapis.com/maps/api/staticmap?center=40.714728,-73.998672&zoom=12&size=400x400&maptype=roadmap&key">
  </body>
</html>

Note: This example image may not appear as after the example was created, Google removed support for free, keyless Google Map images.

Ready to get started? Try DocRaptor for free with unlimited test documents.