{"id":4681,"date":"2014-08-25T14:06:56","date_gmt":"2014-08-25T05:06:56","guid":{"rendered":"http:\/\/www.achiachi.net\/nikki\/?p=4681"},"modified":"2015-08-25T14:55:41","modified_gmt":"2015-08-25T05:55:41","slug":"google-map-api-v3-%e3%81%a7-%e6%98%bc%e5%a4%9c%e5%a2%83%e7%95%8c%e7%b7%9a%e3%82%92%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e6%a7%8b%e6%83%b3%e4%b8%ad","status":"publish","type":"post","link":"https:\/\/www.achiachi.net\/nikki\/google-map-api-v3-%e3%81%a7-%e6%98%bc%e5%a4%9c%e5%a2%83%e7%95%8c%e7%b7%9a%e3%82%92%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e6%a7%8b%e6%83%b3%e4%b8%ad.html","title":{"rendered":"Google Map API v3 \u3067 \u663c\u591c\u5883\u754c\u7dda\u3092\u3059\u308b\u306b\u306f(\u69cb\u60f3\u4e2d)"},"content":{"rendered":"<p>Google Map API v3 \u3067\u663c\u591c\u5883\u754c\u7dda\u3092\u63cf\u304d\u305f\u3044\u3068\u601d\u3044\u52c9\u5f37\u4e2d\u3002<\/p>\n<p><!--more--><\/p>\n<hr \/>\n<p><strong>\u663c\u591c\u5883\u754c\u7dda\u306e\u6c42\u3081\u65b9<\/strong><\/p>\n<p>\u65e5\u306e\u51fa\u6642\u523b\u306f\u8a73\u3057\u304f\u6c42\u3081\u306f\u3058\u3081\u308b\u3068\u8907\u96d1\u306a\u8a08\u7b97\u304c\u5fc5\u8981\u306b\u306a\u308b\u306e\u3067\u3001<br \/>\n\u6b21\u306e\uff13\u6bb5\u968e\u306e\u624b\u9806\u3067\u7def\u5ea6\u30fb\u7d4c\u5ea6\u304c\u6c42\u3081\u3089\u308c\u308b\u3002<\/p>\n<p>1.<br \/>\n\u305d\u306e\u65e5\u306e0\u66420\u5206\u306e\u7d4c\u5ea60\u5ea6\u3067\u3082\u7def\u5ea6(-85\u304b\u3089+85\u5ea6)\u306e\u65e5\u51fa\/\u65e5\u5165\u6642\u9593\u3092\u6c42\u3081\u308b<br \/>\n(\u203b\u7def\u5ea6\u304c90\u5ea6\u3067\u306f\u7121\u3044\u306e\u306fGoogleMapApi\u304c+-85\u5ea6\u307e\u3067\u3057\u304b\u8868\u793a\u3057\u3066\u306a\u3044\u305f\u3081)<br \/>\n(\u203b\u6642\u9593\u304c\u6c42\u3081\u3089\u308c\u306a\u3044\u5834\u5408\u306f\u65e5\u304c\u6c88\u307e\u306a\u3044\u306e\u767d\u591c\u304b\u3001\u65e5\u304c\u767b\u3089\u306a\u3044\u6975\u591c)<\/p>\n<p>2.<br \/>\n\u5730\u7403\u306f\u7d0424\u6642\u9593\u3067360\u5ea6(1\u52060.25\u5ea6)\u81ea\u8ee2\u3057\u3066\u308b\u3068\u3057\u3066\u300c\u4e0a\u3067\u6c42\u3081\u305f\u6642\u9593\u00d7360\u5ea6\/24\u6642\u9593\u300d\u3068\u3059\u308b\u4e8b\u3067<br \/>\n00\u664200\u5206\u306e\u5404\u7def\u5ea6(-85\u304b\u3089+85\u5ea6)\u306e\u65e5\u51fa\/\u65e5\u5165\u306e\u7d4c\u5ea6\u304c\u6c42\u3081\u3089\u308c\u308b<br \/>\n(\u203b\u6b63\u78ba\u306a\u81ea\u8ee2\u5468\u671f\u306f23\u6642\u959356\u52064.098 903 691\u79d2)<\/p>\n<p>3.<br \/>\n\u4e0a\u306f00\u664200\u5206\u306e\u7d4c\u5ea6\u306a\u306e\u3067\u3001<br \/>\n\u73fe\u6642\u523b\u306e\u7d4c\u5ea6\u306f\u300c\u73fe\u5728\u6642\u9593\u00d7360\u5ea6\/24\u6642\u9593\u300d\u3092\u5f15\u3044\u305f\u5024\u304c<br \/>\n\u203b\u5f15\u304f\u306e\u306f\u592a\u967d\u304c\u6771(+\u5ea7\u6a19)\u304b\u3089\u897f(-\u5ea7\u6a19)\u306b\u5411\u304b\u3063\u3066\u52d5\u3044\u3066\u308b\u305f\u3081<\/p>\n<p>\u3053\u306e\u8a08\u7b97\u65b9\u6cd5\u3060\u3068\u3001\u5730\u7403\u306f\u81ea\u8ee2\u3057\u306a\u304c\u3089\u592a\u967d\u306e\u5468\u308a\u3092\u516c\u8ee2\u3057\u3066\u3044\u306e\u3067\u6642\u9593\u304c24\u6642\u306b\u8fd1\u3065\u304f\u307b\u3069\u30ba\u30ec\u304c\u5927\u304d\u304f\u306a\u308b\u6b20\u70b9\u304c\u3042\u308b\u304c1\u5206\u7a0b\u5ea6\u3068\u601d\u308f\u308c\u308b\u3067\u81ea\u5206\u304c\u5fc5\u8981\u3068\u3059\u308b\u7cbe\u5ea6\u306f\u30af\u30ea\u30a2\u3057\u3066\u3044\u308b\u3002<\/p>\n<p><strong>\u4f8b<\/strong><br \/>\n 2015\u5e741\u67081\u65e5\u3001\u7d4c\u5ea60\u5ea6\u3001\u5404\u7def\u5ea6\u306e\u65e5\u306e\u51fa\u6642\u523b(\u4e16\u754c\u6a19\u6e96\u6642)<br \/>\n \u30fb\u5317\u7def60\u5ea6\u306e\u6642 9:02<br \/>\n \u30fb\u5317\u7def30\u5ea6\u306e\u6642 6:56<br \/>\n \u30fb\u5317\u7def 0\u5ea6\u306e\u6642 6:00<\/p>\n<p> \u7d0424\u6642\u9593\u3067360\u5ea6(1\u52060.25\u5ea6)\u81ea\u8ee2\u3057\u3066\u308b\u3068\u3057\u3066\u300c\u5404\u65e5\u306e\u51fa\u6642\u9593\u00d7360\u5ea6\/24\u6642\u9593\u300d\u3068\u3059\u308b\u3068\u6642\u9593\u309200\u664200\u5206\u306e\u65e5\u306e\u51fa\u306e\u7d4c\u5ea6\u304c\u6c42\u3081\u3089\u308c\u308b\u3002<br \/>\n \u30fb\u5317\u7def60\u5ea6\u306e\u6642 \u6771\u7d4c135.5\u5ea6<br \/>\n \u30fb\u5317\u7def30\u5ea6\u306e\u6642 \u6771\u7d4c104\u5ea6<br \/>\n \u30fb\u5317\u7def 0\u5ea6\u306e\u6642 \u6771\u7d4c90\u5ea6<\/p>\n<p> \u73fe\u5728\u6642\u523b\u304c6:00\u3060\u3063\u305f\u3068\u3059\u308b\u3068\u3001\u300c\u73fe\u5728\u6642\u9593\u00d7360\u5ea6\/24\u6642\u9593\u300d\u3067\u5730\u7403\u306f0\u66420\u5206\u304b\u308990\u5ea6\u56de\u8ee2\u3057\u3066\u308b\u306e\u3067<br \/>\n \u4e0a\u8a18\u306e\u89d2\u5ea6\u304b\u308990\u5ea6\u5f15\u304f\u3068\u73fe\u5728\u306e\u65e5\u51fa\u3092\u89b3\u6e2c\u3067\u304d\u308b\u5ea7\u6a19\u3068\u306a\u308b\u3002<br \/>\n \u30fb\u5317\u7def60\u5ea6\u306e\u6642 \u6771\u7d4c45.5\u5ea6<br \/>\n \u30fb\u5317\u7def30\u5ea6\u306e\u6642 \u6771\u7d4c14\u5ea6<br \/>\n \u30fb\u5317\u7def 0\u5ea6\u306e\u6642 \u6771\u7d4c0\u5ea6<\/p>\n<p> \u3053\u306e\u70b9\u3092\u7d50\u3073\u3001\u897f\u5074\u304c\u591c\u3001\u6771\u5074\u304c\u663c\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<hr \/>\n<p>Google Map API v3\u306e\u6ce8\u610f\u70b9<\/p>\n<p>\u30fb\u7def\u5ea6\u306f+85\u5ea6\u304b\u3089-85\u5ea6\u307e\u3067\u3001+-85\u5ea6\u4ee5\u4e0a\u306f\u5730\u56f3\u304c\u7121\u3044\u3002<br \/>\n\u30fb\u6771\u7d4c\u3068\u897f\u7d4c\u306f\u3064\u306a\u304c\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u30dd\u30ea\u30b4\u30f3\u306e\u5ea7\u6a19\u304c\u96e2\u308c\u3059\u304e\u308b\u3068\u6771\u56de\u308a\u3067\u7dda\u304c\u5f15\u304b\u308c\u308b\u6642\u3068\u897f\u56de\u308a\u3067\u7dda\u304c\u5f15\u304b\u308c\u308b\u6642\u304c\u3042\u308b\u306e\u3067\u6ce8\u610f\u3059\u308b\u4e8b\u3002<br \/>\n\u3000\u4f8b\u3048\u3070\u65e5\u672c\u3068\u30a2\u30e1\u30ea\u30ab\u306e\uff12\u70b9\u306b\u7dda\u3092\u5f15\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u3057\u305f\u5834\u5408\u3001\u592a\u5e73\u6d0b\u3092\u8d8a\u3048\u3066\u7dda\u304c\u5f15\u304b\u308c\u308b\u6642\u3068\u30e6\u30fc\u30e9\u30b7\u30a2\u5927\u9678\u3092\u8d85\u3048\u3066\u7dda\u304c\u5f15\u304b\u308c\u308b\u4e8b\u304c\u3042\u308b\u306e\u3067\u3001\u4e2d\u9593\u70b9\u3092\u6307\u5b9a\u3059\u308b\u4e8b\u3067\u56de\u907f\u3067\u304d\u308b\u3002<br \/>\n\u3000\u767a\u751f\u8981\u4ef6\u306f\u4e0d\u660e\u3060\u304c\u3001\u8ddd\u96e2\u3060\u3051\u3067\u306f\u7121\u304f\u5ea7\u6a19\u3067\u3082\u5909\u308f\u308b\u306e\u3067\u3001\u663c\u591c\u5883\u754c\u7dda\u306f\u76f8\u5bfe\u4f4d\u7f6e\u3084\u8ddd\u96e2\u306f\u304b\u308f\u306a\u3089\u3044\u3051\u3069\u6642\u9593\u3067\u5ea7\u6a19\u304c\u897f\u306b\u52d5\u3044\u3066\u3044\u304f\u306e\u3067\u7279\u5b9a\u6761\u4ef6\u4e0b\u3067\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3002<\/p>\n<p><strong>\u53c2\u8003\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e00\u90e8<\/strong><\/p>\n<p>\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3067\u6307\u5b9a<br \/>\nvar polygon=[];<\/p>\n<p>\u30fb\u30dd\u30ea\u30b4\u30f3\u8868\u793a\u65b9\u6cd5<br \/>\n var pol;<br \/>\n pol.push(new google.maps.LatLng(\u7def\u5ea61,\u7d4c\u5ea61));<br \/>\n pol.push(new google.maps.LatLng(\u7def\u5ea62,\u7d4c\u5ea62));<br \/>\n pol.push(new google.maps.LatLng(\u7def\u5ea63,\u7d4c\u5ea63));<br \/>\n polygon[0]=new google.maps.Polygon({paths: pol, strokeColor: &#8220;#000000&#8221;, strokeOpacity: 0.1, strokeWeight: 1, fillColor: &#8220;#000000&#8221;, fillOpacity: 0.35, zIndex:1});<br \/>\n polygon[0].setMap(map);\t\/\/\u5f8c\u3067\u8868\u793a\u3055\u305b\u308b\u5834\u5408\u306f\u5b9f\u884c\u3057\u306a\u3044\u3002<\/p>\n<p>\u30fb\u663c\u591c\u5883\u754c\u7dda\u306f\u6642\u9593\u3067\u52d5\u3044\u3066\u3044\u304f\u306e\u3067\u518d\u8a08\u7b97\u30fb\u518d\u8868\u793a\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001\u30dd\u30ea\u30b4\u30f3\u306e\u5dee\u3057\u66ff\u3048\u65b9\u6cd5\u3068\u30ea\u30ed\u30fc\u30c9\u65b9\u6cd5<br \/>\n var pol;<br \/>\n pol.push(new google.maps.LatLng(\u7def\u5ea61,\u7d4c\u5ea61));<br \/>\n pol.push(new google.maps.LatLng(\u7def\u5ea62,\u7d4c\u5ea62));<br \/>\n pol.push(new google.maps.LatLng(\u7def\u5ea63,\u7d4c\u5ea63));<br \/>\n polygon[0].setPath( pol );\t\t\/\/\u30dd\u30ea\u30b4\u30f3\u3092\u5dee\u3057\u66ff\u3048\u308b<br \/>\n setTimeout(&#8220;\u518d\u8a08\u7b97\u95a2\u6570()&#8221;, 30000);\t\/\/30\u79d2\u3067\u518d\u8a08\u7b97\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30ed\u30fc\u30c9\u3055\u305b\u308b<\/p>\n<p>\u30fb\u30dd\u30ea\u30b4\u30f3\u975e\u8868\u793a\u306b\u3059\u308b<br \/>\n polygon[0].setMap(null);<\/p>\n<p>\u30fb\u975e\u8868\u793a\u306b\u3057\u305f\u30dd\u30ea\u30b4\u30f3\u8868\u793a\u3059\u308b<br \/>\n polygon[0].setMap(map);<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Map API v3 \u3067\u663c\u591c\u5883\u754c\u7dda\u3092\u63cf\u304d\u305f\u3044\u3068\u601d\u3044\u52c9\u5f37\u4e2d\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[84],"tags":[],"class_list":["post-4681","post","type-post","status-publish","format-standard","hentry","category-84"],"_links":{"self":[{"href":"https:\/\/www.achiachi.net\/nikki\/wp-json\/wp\/v2\/posts\/4681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.achiachi.net\/nikki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.achiachi.net\/nikki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.achiachi.net\/nikki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.achiachi.net\/nikki\/wp-json\/wp\/v2\/comments?post=4681"}],"version-history":[{"count":4,"href":"https:\/\/www.achiachi.net\/nikki\/wp-json\/wp\/v2\/posts\/4681\/revisions"}],"predecessor-version":[{"id":4685,"href":"https:\/\/www.achiachi.net\/nikki\/wp-json\/wp\/v2\/posts\/4681\/revisions\/4685"}],"wp:attachment":[{"href":"https:\/\/www.achiachi.net\/nikki\/wp-json\/wp\/v2\/media?parent=4681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.achiachi.net\/nikki\/wp-json\/wp\/v2\/categories?post=4681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.achiachi.net\/nikki\/wp-json\/wp\/v2\/tags?post=4681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}