<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Googlemap on php-tips.com</title>
    <link>https://php-tips.com/tags/googlemap/</link>
    <description>Recent content in Googlemap on php-tips.com</description>
    <generator>Hugo</generator>
    <language>ja</language>
    <lastBuildDate>Thu, 12 Jul 2018 20:08:50 +0900</lastBuildDate>
    <atom:link href="https://php-tips.com/tags/googlemap/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>住所からGoogle Mapへのリンクを生成する</title>
      <link>https://php-tips.com/2018/07/12/make-googlemap-link/</link>
      <pubDate>Thu, 12 Jul 2018 20:08:50 +0900</pubDate>
      <guid>https://php-tips.com/2018/07/12/make-googlemap-link/</guid>
      <description>&lt;p&gt;TL;DR&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;https://www.google.com/maps/search/?api=1&amp;amp;query={address}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;読め &amp;gt; &lt;a href=&#34;https://developers.google.com/maps/documentation/urls/guide#search-action&#34;&gt;Developer Guide  |  Maps URLs  |  Google Developers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;なんか、ググるとURLが &lt;code&gt;https://maps.google.co.jp&lt;/code&gt; のだったり古い情報しかでてこない。
2018年7月時点では↑が正しい。&lt;/p&gt;
&lt;p&gt;&lt;code&gt;{address}&lt;/code&gt;は住所で、URLエスケープした住所。PHPでやるなら&lt;code&gt;urlencode&lt;/code&gt;か&lt;code&gt;http_build_query&lt;/code&gt;で組み立てる。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
