GoogleMap表示機能追加
- 2006年10月24日 16:31
- SNS
■ Google Maps API Keyを取得する まず、この機能を使うためにGoogle Maps API Keyを取得する必要があります。以下のページにアクセスして、Keyを申請してください。
▼Google Maps API - Sign Up(Key申請ページ) http://www.google.com/apis/maps/signup.html Key申請ページの下部にある [I have read and agree with the terms and conditions] オプションにチェックを入れて、[My web site URL] 欄に自分のOpenPNEサイトのURLを入力します。
上図にある [Generate API Key] ボタンをクリックすると、Google Maps API Key 表示ページに進むか、またはログイン画面が表示されます。
Googleアカウントをお持ちの方は、登録しているメールアドレスとパスワードを入力してログインしてください。
Googleアカウント未取得の方は [今すぐアカウントを作成] ボタンから手続きを進めてください。
Googleアカウントでログインすると、Google Maps API Key が表示されます。
■ config.phpにGoogle Maps API Keyを設定する
config.phpの定数
GOOGLE_MAPS_API_KEYに以下のようにGoogle Maps API Keyを入力して、これをサーバにアップロードしてください。
▼config.php
383: ///
384: // Google Maps API key
385: ///
386: define('GOOGLE_MAPS_API_KEY', 'Google Maps API Key');
- Newer: OpenPNE 2.4.2にアップ
- Older: MODxデモサイト
トラックバック:0
- TrackBack URL for this entry
- http://www.00px.com/cgi-bin/mtm/mt-tb.cgi/19
- Listed below are links to weblogs that reference
- GoogleMap表示機能追加 from 【オープンソース情報サイト】 - 00px -
- カテゴリ
- アーカイブ
- 購読
- Powerd By
コメント:0