googlemapを画像にする
<?php
$address_ = “東京都新宿区西新宿2丁目8-1”;
$address_ = mb_convert_encoding($address_, “UTF-8”, “auto”);
$address_ = urlencode(“$address_”);
//マップ
$map='<img src=”http://maps.google.com/maps/api/staticmap?center=’.$address_.’&zoom=16&size=200×200&mobile=true&markers=’.$address_.’&sensor=false&language=ja” charset=”UTF-8″ />’;
echo “$map”;
携帯ブラウザ表示やpdf生成のときに使う
http://code.google.com/intl/ja/apis/maps/documentation/staticmaps/