Sha256: 23198032d40de30cbf7785ad7c71210e30e1b49917562076f725582eb6676002
Contents?: true
Size: 719 Bytes
Versions: 2
Compression:
Stored size: 719 Bytes
Contents
# google-map-stitch Download and stitch google map tiles into a single image. ## Setup ```console gem install google-map-stitch ``` ## Usage ### Define a section of map and zoom level ```ruby require 'google-map-stitch' # entire map engine = GMS::Engine.new({:zoomLevel=>2}) # subsection (South America) engine = GMS::Engine.new({ :startX => 131, :endX => 201, :startY => 235, :endY => 360, :zoomLevel => 10 }) ``` ### Download Tiles ```ruby downloader = GMS::Downloader.new(engine.tiles, 'tiles_folder') downloader.process ``` ### Combine Tiles ```ruby stitcher = GMS::Stitcher.new('tiles_folder', 'map.png') stitcher.process ``` > Copyright (c) 2012 Tyler Kellen. See LICENSE for further details.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
google-map-stitch-0.1.2 | README.md |
google-map-stitch-0.1.1 | README.md |