Groups
Groups
Sign in
Groups
Groups
Google-Maps-API-Japan
Conversations
About
Send feedback
Help
Google-Maps-APIに「印刷機能」がありますか?
1,542 views
Skip to first unread message
gakugun
unread,
Nov 10, 2008, 2:13:14 AM
11/10/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Maps-API-Japan
Google-Maps-APIに「印刷機能」がありますか?
何かご存知の方いらっしゃいましたら、ご教授ください。
Masashi.K
unread,
Nov 10, 2008, 8:11:12 PM
11/10/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Maps-API-Japan
>gakugunさん
「印刷機能」というのが、どの程度のものかはわかりませんが
特に該当するような機能は用意されていませんね。
強いてあげれば、印刷時にアイコンの画像を変更する、などの簡単なことはできますよ。
GIcon -> printImage, mozPrintImage, printShadow
GControl -> printable
印刷プレビュー画面を表示するのは
普通にJavaScriptを組んでいただければいいと思います。
■JavaScriptで印刷
http://www5e.biglobe.ne.jp/~access_r/hp/javascript/js_046.html
■JavaScriptで印刷プレビュー
http://otd8.jbbs.livedoor.jp/877597/bbs_tree?base=11257&range=1
gakugun
unread,
Nov 11, 2008, 12:17:12 AM
11/11/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Maps-API-Japan
Masashi.Kさん
ご返答ありがとうございます。
「印刷機能」というのが、googlemap本家サイトの「印刷」リンク機能を自分のサイトに設置したいです。
一番知りたいのは「googlemapAPI」に地図の著作権による、「地図印刷」機能が提供されないでしょうか?
> GIcon -> printImage, mozPrintImage, printShadow
> GControl -> printable
参考できるサイトを教えていただけませんでしょうか?
Masashi.K
unread,
Nov 11, 2008, 3:34:05 AM
11/11/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Maps-API-Japan
>gakugunさん
残念ながらそのような機能は提供されていないですね。
あえていえば、Google Static Maps APIを使えば
類似したものは作れそうですけど・・・。
■ GIcon -> printImage
http://www.openspc2.org/Google/Maps/api/GIcon/printImage/
Mitu-Koike
unread,
Nov 11, 2008, 11:51:01 PM
11/11/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Maps-API-Japan
>gakugunさん
GoogleMaps本家の印刷機能に飛ばすことは出来るのではないでしょうか?
[GoogleMaps本家の印刷ページのURL例]
http://maps.google.co.jp/maps?hl=ja&ie=UTF8&ll=36.5626,136.362305&spn=51.552417,78.75&z=4&pw=2
ll=36.5626,136.362305 の緯度経度を置換して、ダイレクトに飛ぶという方法が簡単ではないでしょうか?
(spn=51.552417,78.75 ってなんだろ?)
また、地図をPDFに組み込んで印刷させるみたいな特殊な使い方をするのであれば、Masashi.Kさんの仰るとおりGoogle Static
Maps API しか方法はないと思われます。
Reply all
Reply to author
Forward
0 new messages