<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>foojy</author_name>
  <author_url>https://blog.hatena.ne.jp/foojy/</author_url>
  <blog_title>Digitra</blog_title>
  <blog_url>https://digitra.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラム</anon>
  </categories>
  <description>GoogleMapのAPIで地名と緯度経度を変換するAPIがあります。 今のところこのAPIはデベロッパーキーなどの指定がなくても利用できるようなので、以下のようなPHPのコードで簡単に変換することが出来ます。 地名から緯度経度を得る 第一引数：地名第二引数：検索結果の地名を何語で得るか（デフォルト日本語にしています）返り値：GoogleMapGeocodeのAPIのレスポンスを連想配列にしたもの function getGoogleGeoCode($location, $lang=&quot;ja&quot;) { $url = &quot;http://maps.google.com/maps/api/geocode/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdigitra.hatenablog.com%2Fentry%2F2016%2F12%2F16%2F172935&quot; title=&quot;GoogleMapApiで地名と緯度経度を相互変換する - Digitra&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-12-16 17:29:35</published>
  <title>GoogleMapApiで地名と緯度経度を相互変換する</title>
  <type>rich</type>
  <url>https://digitra.hatenablog.com/entry/2016/12/16/172935</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
