0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Google Maps API利用方法 (静的マップ、埋め込みマップ)

Last updated at Posted at 2021-07-22

コンソールにログイン

APIの有効化

aaa.png

APIを利用するには「有効にする」をクリック

enable.png

APIキーの生成

ffff.png

APIのサンプル (Maps Static APIの例)

おやきの店うしこしのマップ

key=のところに、先ほど取得したAPIキーを指定する。

mm.PNG

埋め込みマップの場合 (iframe)

<iframe
  width="600"
  height="450"
  style="border:0"
  loading="lazy"
  allowfullscreen
  src="https://www.google.com/maps/embed/v1/place?key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    &q=36.30403066476505, 137.93165161571605">
</iframe>

Googleマップ v2からv3にアップグレード方法

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?