SSブログ

iアプリで Google Static Map API を使うには? [NT]

DoCoMo の iアプリ(Doja)や Softbank/au の CLDC/MIDP による S! アプリ、EZ アプリから Google Static Map API を使うにはどうしたらいいか?

結論からすると、「ブラウザ以外から利用してはいけないので、自分でブラウザを作らないとならなくなりそう」。

How can i change the default icon of a marker? - Google Maps API | Google グループ で似たような話題があって、

Junny 氏の

> Thanks, but the problem is that i'm not using jscript, no web browser,
> is an appplication in j2me. I'm using google static maps, and the api
> don't show how change the icon.

という質問に対し、Andrew Leach 氏は

If you're using Static Maps but not in a web browser, you are
contravening the Terms of Service. See http://code.google.com/apis/maps/terms.html
paragraph 10.8

と答えている。Junny 氏の

> Somebody knows another way to use google maps in j2me (mobile)?

に対して Andrew Leach 氏は

I suspect you need to write a J2ME browser, like Opera Mini. That can
handle static maps, and even makes an attempt at the dynamic maps (not
all that successfully, though).

You can vary the markers in Static Maps by changing the colour and using letters instead of the dot in the middle. You can't use custom icons.

と回答している。

ここで、  http://code.google.com/apis/maps/terms.html paragraph 10.8 を確認してみると

10. License Restrictions. Except as expressly permitted under the Terms, or unless you have received prior written authorization from Google (or, as applicable, from the provider of particular Content), Google's licenses above are subject to your adherence to all of the restrictions below. Except as explicitly permitted in Section 7, you must not (nor may you permit anyone else to):
10.1 ~ 10.7 は引用を省略

10.8 use the Static Maps API other than in an implementation in a web browser;

となっており、Static Maps API は web browser の実装以外からの使用を制限している。
だから Andrew Leach 氏はその制限を回避するために、Opera Mini のような J2ME ブラウザを作ったらどうかと述べている。

Google maps in non-web applications - Google Maps API | Google グループ でも似たような議論がなされている。

Terms of Service は FAQ の Can I use Google Maps in my non-Web application? で YES という回答よりも優先されるから、

Consequently the Static Maps must only be used in a web browser.

であると。

ということで、今のところ勝手には作っては駄目っぽい。ブラウザ以外でやりたい人は Google に問い合わせて許可を得ると良さそう。

Google Static Maps は便利なんだけど、JavaScript 版のように任意のアイコンを使えないんだよねー。それが、ちょっと不便なんだよなぁ。

商業利用もOK! Google Mapsについて知りたいこと -@IT では Google のエンジニアとのインタビューがあって若干の質疑応答がなされているけど、

最近増えているのは、Webブラウザではなく、デスクトップアプリから使用していいかという質問だ。しかし、これも誰でも自由に利用できるよう作成し配布していれば「構わない」そうである。JavaScriptエンジンを持つクライアントアプリで使うことはいい。

と書いてあるし。「JavaScript エンジンを持つクライアントアプリ」ですか。Google Static Map の場合はこの部分が「ブラウザなら」になるのだろうか。

やはり、私と似たようなことを考える人はいるんだなーと。


この広告は前回の更新から一定期間経過したブログに表示されています。更新すると自動で解除されます。