{"id":2838,"date":"2013-05-14T18:09:22","date_gmt":"2013-05-14T09:09:22","guid":{"rendered":"https:\/\/gunmagisgeek.com\/wordpress\/?p=2838"},"modified":"2013-12-30T21:12:59","modified_gmt":"2013-12-30T12:12:59","slug":"post-2838","status":"publish","type":"post","link":"https:\/\/gunmagisgeek.com\/blog\/google-map-api\/2838","title":{"rendered":"Google Map\u3092\u4f7f\u3063\u3066\u6c34\u5f69\u753b\u98a8\uff0f\u30e2\u30ce\u30af\u30ed\u30fc\u30e0\u306e\u5730\u56f3\u3092\u8868\u793a\u3059\u308b"},"content":{"rendered":"<p><a href=\"http:\/\/shimz.me\/example\/gmapv3\/stamen\/index.html\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2013\/05\/test000013.jpg\" alt=\"Google Map \u6c34\u5f69\u753b\u98a8\" width=\"590\" height=\"339\" class=\"alignnone size-full wp-image-2839\" srcset=\"https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2013\/05\/test000013.jpg 590w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2013\/05\/test000013-261x150.jpg 261w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><\/a><\/p>\n<p>\u30af\u30ea\u30a8\u30a4\u30c6\u30a3\u30d6\u30fb\u30b3\u30e2\u30f3\u30ba\u30e9\u30a4\u30bb\u30f3\u30b9\u3067\u914d\u5e03\u3055\u308c\u3066\u3044\u308b\u30de\u30c3\u30d7\u30bf\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u3066\u6c34\u5f69\u753b\u98a8\u306e\u5730\u56f3\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>\u914d\u5e03\u5143\u306f\u4ee5\u4e0b\u3002<br \/>\n<a href=\"http:\/\/maps.stamen.com\/\">http:\/\/maps.stamen.com\/<\/a><\/p>\n<p>Google Map API\u4ee5\u5916\u306e<a href=\"http:\/\/openlayers.org\/\">OpenLayers<\/a>\u3084<a href=\"http:\/\/leafletjs.com\/\">Leaflet<\/a>\u306a\u3069\u306e\u5730\u56f3\u8868\u793a\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3082\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>DEMO<\/h2>\n<p><strong>\u6c34\u5f69\u753b\u98a8<\/strong><br \/>\n<iframe loading=\"lazy\" width=\"100%\" height=\"300\" src=\"http:\/\/shimz.me\/example\/gmapv3\/stamen\/index.html\"><\/iframe><br \/>\n<a href=\"http:\/\/shimz.me\/example\/gmapv3\/stamen\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\">Full Size<\/a><\/p>\n<p><strong>\u30e2\u30ce\u30af\u30ed<\/strong><br \/>\n<iframe loading=\"lazy\" width=\"100%\" height=\"300\" src=\"http:\/\/shimz.me\/example\/gmapv3\/stamen\/index2.html\"><\/iframe><br \/>\n<a href=\"http:\/\/shimz.me\/example\/gmapv3\/stamen\/index2.html\" target=\"_blank\" rel=\"noopener noreferrer\">Full Size<\/a><\/p>\n<h2>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h2>\n<p>Google Map API\u3067\u306e\u6c34\u5f69\u753b\u98a8\u5730\u56f3\u8868\u793a\u30b5\u30f3\u30d7\u30eb<\/p>\n<pre class=\"lang:xhtml decode:true \" >&lt;!DOCTYPE HTML&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;title&gt;Google Maps \u30e2\u30ce\u30af\u30ed&lt;\/title&gt;\n&lt;script type=&quot;text\/javascript&quot;\nsrc=&quot;http:\/\/maps.googleapis.com\/maps\/api\/js?sensor=false&quot;&gt;&lt;\/script&gt;\n&lt;script type=&quot;text\/javascript&quot; src=&quot;http:\/\/maps.stamen.com\/js\/tile.stamen.js?v1.2.1&quot;&gt;&lt;\/script&gt;\n&lt;script type=&quot;text\/javascript&quot;&gt;\n\tfunction initialize() {\n            var layer = &quot;watercolor&quot;; \/\/\u30ec\u30a4\u30e4\u30fc\u6307\u5b9a\u3000watercolor:\u6c34\u5f69\u753b\u98a8\u3001toner:\u30e2\u30ce\u30af\u30ed\n            var map = new google.maps.Map(document.getElementById(&quot;map_canvas&quot;), {\n                center: new google.maps.LatLng(36.322356, 139.013057),\n                zoom: 5,\n                mapTypeId: layer,\n                mapTypeControlOptions: {\n                    mapTypeIds: [layer]\n                }\n            });\n            map.mapTypes.set(layer, new google.maps.StamenMapType(layer));\n\t}\n        \n\n\tgoogle.maps.event.addDomListener(window, &quot;load&quot;, initialize);\n&lt;\/script&gt;\n&lt;style type=&quot;text\/css&quot;&gt;\nhtml, body{\n    margin: 0px;\n    padding: 0px;\n}\nhtml, body, #map_canvas {\n\twidth: 100%;\n\theight: 100%;\n}\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n\t&lt;div id=&quot;map_canvas&quot;&gt;&lt;\/div&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u30af\u30ea\u30a8\u30a4\u30c6\u30a3\u30d6\u30fb\u30b3\u30e2\u30f3\u30ba\u30e9\u30a4\u30bb\u30f3\u30b9\u3067\u914d\u5e03\u3055\u308c\u3066\u3044\u308b&hellip;<\/p>\n","protected":false},"author":1,"featured_media":2839,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[],"class_list":["post-2838","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-map-api","has-post-thumbnail-archive"],"_links":{"self":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/2838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/comments?post=2838"}],"version-history":[{"count":0,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/2838\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/media\/2839"}],"wp:attachment":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/media?parent=2838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/categories?post=2838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/tags?post=2838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}