# #GoogleMapsの静的画像バージョンのURLを表現するクラス #http://code.google.com/apis/maps/documentation/staticmaps/ # class Google class Map class Static PKG_VERSION = '1.0.0' # #取得URLとクエリを保持する変数 # STATIC_MAP_URL = 'http://maps.google.com/staticmap?' def initialize(latitude,longitude,api_key,settings = {},markers = []) raise ArgumentError.new('latitude mast be found') unless latitude raise ArgumentError.new('longitud