独自ドメインを取得していて、サイト内の複数のページにグーグルマップを利用しようと考えているのですが、この場合、登録は、サイトのURLを登録すれば良いのですか?それとも、グーグルマップを貼ろうとするページすべてをその都度登録しなければならないのでしょうか?
ご存知の方、ぜひ教えてください。
http://www.google.com/apis/maps/signup.html
The Google Maps API lets you embed Google Maps in your own web pages. A single Maps API key is valid for a single "directory" on your web server, so if you sign up for the URL ttp://www.mygooglemapssite.com/mysite, the key you get will be good for all URLs in the ttp://www.mygooglemapssite.com/mysite/ directory. See the API documentation for more information. You must have a Google Account to get a Maps API key, and your API key will be connected to your Google Account.
Google Maps APIで、あなたはGoogle Mapsをあなた自身のウェブページに埋め込むことができます。 あなたのウェブサーバーの単一の「ディレクトリ」に、単一のMaps APIキーが有効であるので、あなたがURL ttp://www.mygooglemapssite.com/mysite に申し込みをするなら、あなたが手に入れるキーは ttp://www.mygooglemapssite.com/mysite/ ディレクトリのすべてのURLに良くなるでしょう。 詳しい情報に関してAPIドキュメンテーションを見てください。 あなたはMaps APIキーを手に入れるGoogle Accountを持たなければなりません、そして、あなたのAPIキーはあなたのGoogle Accountに接続されるでしょう。
ということなので、ディレクトリ階層的に一番トップの URL で登録しておけば、その URL 以下のディレクトリ内は同じ API Key で使えるようになります。
http://www.google.com/apis/maps/signup.html
The Google Maps API lets you embed Google Maps in your own web pages. A single Maps API key is valid for a single "directory" on your web server, so if you sign up for the URL ttp://www.mygooglemapssite.com/mysite, the key you get will be good for all URLs in the ttp://www.mygooglemapssite.com/mysite/ directory. See the API documentation for more information. You must have a Google Account to get a Maps API key, and your API key will be connected to your Google Account.
Google Maps APIで、あなたはGoogle Mapsをあなた自身のウェブページに埋め込むことができます。 あなたのウェブサーバーの単一の「ディレクトリ」に、単一のMaps APIキーが有効であるので、あなたがURL ttp://www.mygooglemapssite.com/mysite に申し込みをするなら、あなたが手に入れるキーは ttp://www.mygooglemapssite.com/mysite/ ディレクトリのすべてのURLに良くなるでしょう。 詳しい情報に関してAPIドキュメンテーションを見てください。 あなたはMaps APIキーを手に入れるGoogle Accountを持たなければなりません、そして、あなたのAPIキーはあなたのGoogle Accountに接続されるでしょう。
ということなので、ディレクトリ階層的に一番トップの URL で登録しておけば、その URL 以下のディレクトリ内は同じ API Key で使えるようになります。
ありがとうございます!
解決しました。
サイトのURLでOKです。
http://www.homepage.com/とかhttp://homepage.com/とかでOKです。
下位のフォルダなどにいれたページ毎に登録する必要はありません。
ありがとうございます!
解決しました。
ありがとうございます!
解決しました。