<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nana-Korobi &#187; その他</title>
	<atom:link href="http://aokiji.science/blog/?cat=24&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://aokiji.science/blog</link>
	<description>Without haste, but without rest.</description>
	<lastBuildDate>Mon, 18 Apr 2016 01:53:08 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>WebページにGoogleMapsの地図を埋め込む方法</title>
		<link>http://aokiji.science/blog/?p=20</link>
		<comments>http://aokiji.science/blog/?p=20#comments</comments>
		<pubDate>Mon, 30 Mar 2015 04:55:48 +0000</pubDate>
		<dc:creator><![CDATA[AoYu]]></dc:creator>
				<category><![CDATA[GoogleMaps]]></category>

		<guid isPermaLink="false">http://aokiji.science/blog/?p=20</guid>
		<description><![CDATA[GoogleMapsの地図をWebページへの埋め込みは、 GoogleMapsで埋め込みたい地図のコードを取得する 地図コードをHTMLファイルに書き込む の手順で実現できる。 1. GoogleMapsで埋め込みたい地 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>GoogleMapsの地図をWebページへの埋め込みは、</p>
<ol>
<li><strong>GoogleMapsで埋め込みたい地図のコードを取得する</strong></li>
<li><strong>地図コードをHTMLファイルに書き込む</strong></li>
</ol>
<p>の手順で実現できる。</p>
<p></p>
<h4><strong>1. GoogleMapsで埋め込みたい地図のコードを取得する</strong></h4>
<ul>
<li>GoogleMaps <a href="https://www.google.com/maps" target="_blank">(https://www.google.com/maps)</a> にアクセスする。</li>
<li>住所や建物名を入力するなどして目的地にピンを立てる。</li>
<li>画面右下の歯車アイコンをクリックし、「地図を共有または埋め込む」を選択する。</li>
<li>「地図を埋め込む」タブから地図の大きさと初期位置を決定し、&lt;iframe&gt; で始まるコードをコピーする。</li>
</ul>
<h4><strong>2. 地図コードをHTMLファイルに書き込む</strong></h4>
<ul>
<li>地図を表示したいWebページのHTML文書に、地図コードを貼り付ける。</li>
<li>レスポンシブWebデザインに対応させるには、適当なwrapperを定義して、以下のようなCSSを設定する。</li>
</ul>
<p><span style="text-decoration: underline;">HTML</span></p>
<pre class="brush: xml; title: ; notranslate">
&lt;div class=&quot;gmaps&quot;&gt;
    &lt;iframe src=&quot;埋め込みたい地図のURL&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</pre>
<p><span style="text-decoration: underline;">CSS</span></p>
<pre class="brush: css; title: ; notranslate">
.gmaps {
position: relative;
padding-bottom: 40%;
padding-top: 40px;
height: 0;
overflow: hidden;
}

.gmaps iframe,
.gmaps object,
.gmaps embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</pre>
<h6>以下の情報を参考にさせていただきました。</h6>
<ul>
<li> <a href="http://inthecom.net/?p=718" target="_blank">http://inthecom.net/?p=718</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://aokiji.science/blog/?feed=rss2&#038;p=20</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
