RubyGems Navigation menu

google-map-static-image-generator 0.0.4

google-map-static-image-generator is a Ruby wrapper around the Google Maps Static API that generates PNG map images on the fly — no JavaScript required. Features: - Add custom markers at any coordinates - Draw paths with custom weight and colour - Apply map styles (hide labels, change colours, etc.) - Set center + zoom for marker-free maps - Choose map type: roadmap, satellite, terrain, or hybrid - Default 1024x1024 at scale 2 (retina-friendly) - Raises GoogleMapStaticImage::ApiError on non-200 responses (invalid key, quota exceeded, etc.) Useful for generating map thumbnails in emails, PDFs, admin dashboards, and anywhere an interactive JavaScript map is not practical.

Gemfile:
=

install:
=

Versions:

  1. 0.0.4 May 31, 2026 (7 KB)
  2. 0.0.3 May 31, 2026 (6 KB)
  3. 0.0.2 May 31, 2026 (6 KB)
  4. 0.0.1 October 13, 2014 (4.5 KB)

Runtime Dependencies (1):

httparty >= 0.14

Development Dependencies (2):

rspec ~> 3.12
webmock ~> 3.0

Owners:

Pushed by:

Authors:

  • Abhishek Sharma

SHA 256 checksum:

=

Total downloads 4,135

For this version 139

Version Released:

License:

MIT

Required Ruby Version: >= 2.7

Links: