{"id":2943,"date":"2018-04-18T18:33:04","date_gmt":"2018-04-18T09:33:04","guid":{"rendered":"http:\/\/taitan916.info\/blog\/?p=2943"},"modified":"2024-02-22T12:52:08","modified_gmt":"2024-02-22T03:52:08","slug":"post-2943","status":"publish","type":"post","link":"https:\/\/taitan916.info\/blog\/archives\/2943","title":{"rendered":"Advanced Custom Fields\u3067GoogleMap\u306e\u4f7f\u7528\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><a href=\"https:\/\/ja.wordpress.org\/plugins\/advanced-custom-fields\/\" target=\"_blank\" rel=\"noopener\">Advanced Custom Fields<\/a>\u3067GoogleMap\u3092\u4f7f\u7528\u3057\u305f\u304b\u3063\u305f\u3002\u8a2d\u5b9a\u4e0a\u304b\u3089\u9078\u3076\u3053\u3068\u306f\u3067\u304d\u308b\u304c\u3001\u305d\u306e\u307e\u307e\u3060\u3068\u8a18\u4e8b\u6295\u7a3f\u30da\u30fc\u30b8\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u305f\u3002\u3053\u306e\u8fba\u306e\u5bfe\u5fdc\u7b56\u3068\u3001\u5b9f\u969b\u306e\u30da\u30fc\u30b8\u8868\u793a\u65b9\u6cd5\u3092\u30e1\u30e2\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6<\/h2>\n<p>API\u30ad\u30fc\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u306a\u3044\u3068\u3044\u3046\u306e\u304c\u539f\u56e0\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u308b\u6a21\u69d8\u3002\u30c6\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u306efunctions.php\u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">define('MAP_API_KEY', 'xxxxxxxxxxxxxxxxxxxxxx');\r\n\r\nfunction my_acf_google_map_api( $api ){\r\n    $api['key'] = MAP_API_KEY;\r\n    return $api;\r\n}<\/pre>\n<p>\u30ad\u30fc\u3092\u5b9a\u6570\u306b\u5165\u308c\u3066\u3044\u308b\u306e\u306f\u4ed6\u30da\u30fc\u30b8\u3067\u3082\u4f7f\u3046\u70ba\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>MySQL\u306e\u4fdd\u5b58\u72b6\u614b<\/h2>\n<p>postmeta\u30c6\u30fc\u30d6\u30eb<span style=\"color: #000000;\">\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u3055\u308c\u305f\u5f62\u3067\u4fdd\u5b58\u3055\u308c\u308b\u3002<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">a:3:{s:7:\"address\";s:57:\"\u4f4f\u6240\";s:3:\"lat\";s:9:\"\u7def\u5ea6\";s:3:\"lng\";s:18:\"\u7d4c\u5ea6\";}<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u53d6\u5f97\u3068\u8868\u793a\u65b9\u6cd5<\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#\u4ee5\u4e0b\u3067\u53d6\u5f97\r\n$gmap = get_field('\u30ad\u30fc\u540d');\r\n\r\n#\u4ee5\u4e0b\u3067\u51fa\u529b\r\necho $gmap['lat']; \/\/\u7d4c\u5ea6\r\necho $gmap['lng']; \/\/\u7def\u5ea6\r\necho $gmap['address']; \/\/\u4f4f\u6240<\/pre>\n<p>&nbsp;<\/p>\n<h2>GoogleMap\u306e\u8868\u793a<\/h2>\n<h3>iframe\u3067\u57cb\u3081\u8fbc\u3080\u5834\u5408<\/h3>\n<p>iframe\u3067\u57cb\u3081\u8fbc\u3080\u65b9\u6cd5\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u30021\u4ef6\u306e\u307f\u8868\u793a\u3055\u305b\u305f\u3044\u3088\u3046\u306a\u5834\u5408\u306f\u3053\u3061\u3089\u306e\u65b9\u6cd5\u304c\u697d\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;?php $gmap = get_field('\u30ad\u30fc\u540d');?&gt;\r\n&lt;iframe src=\"http:\/\/maps.google.co.jp\/maps?ll=&lt;?php echo $gmap['lat'];?&gt;,&lt;?php echo $gmap['lng'];?&gt;&amp;q=&lt;?php echo $gmap['address'];?&gt;&amp;output=embed&amp;t=m&amp;z=14\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" style=\"width:640px; height:400px; max-width: 100%;\"&gt;&lt;\/iframe&gt;<\/pre>\n<h3>JavaScript\u3067\u51fa\u529b\u3059\u308b\u5834\u5408<\/h3>\n<p>JavaScript\u3067\u51fa\u529b\u3059\u308b\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002\u8907\u6570\u8868\u793a\u3055\u305b\u305f\u3044\u5834\u5408\u306f\u3053\u3061\u3089\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;div id=\"map_canvas\" style=\"width:500px; height:500px;\"&gt;&lt;\/div&gt;\r\n\r\n&lt;script src=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/examples\/markerclusterer\/markerclusterer.js\"&gt;&lt;\/script&gt;\r\n&lt;script type=\"text\/javascript\" src=\"https:\/\/maps.google.com\/maps\/api\/js?key=&lt;?php echo MAP_API_KEY;?&gt;&amp;libraries=visualization\"&gt;&lt;\/script&gt;\r\n&lt;script&gt;\r\nvar mapData = [\r\n    &lt;?php while( $the_query-&gt;have_posts() ){ ?&gt;\r\n        &lt;?php $the_query-&gt;the_post(); ?&gt;\r\n        &lt;?php $gmap = get_field('googlemap\u306e\u30ad\u30fc\u540d');?&gt;\r\n        { 'x':'&lt;?php echo $gmap[\"lat\"];?&gt;', 'y':'&lt;?php echo $gmap[\"lng\"];?&gt;', 'link': '&lt;?php the_permalink() ?&gt;'}, \r\n    &lt;?php } ?&gt;\r\n];\r\nvar minLat = 999;\r\nvar maxLat = 0;\r\nvar minLng = 999;\r\nvar maxLng = 0;\r\n\r\nvar currentWindow = null;\r\n\r\nvar latlng = new google.maps.LatLng(mapData[0].x, mapData[0].y);\r\nvar myOptions = {\r\n    center: latlng, \r\n    mapTypeId: google.maps.MapTypeId.ROADMAP\r\n};\r\n\r\nvar map = new google.maps.Map(document.getElementById(\"map_canvas\"), myOptions);\r\n\r\n\/\/\u30de\u30fc\u30ab\u30fc\u30af\u30e9\u30b9\u30bf\u30ea\u30f3\u30b0\u7528\u306e\u914d\u5217\r\nvar clusterer = [];\r\n\r\nfor (var key in mapData){\r\n    var marker_data = makeMarker(mapData[key]);\r\n    \/\/\u30de\u30fc\u30ab\u30fc\u60c5\u5831\u3092\u30af\u30e9\u30b9\u30bf\u30ea\u30f3\u30b0\u7528\u306e\u914d\u5217\u306b\u7a81\u3063\u8fbc\u3080\r\n    clusterer.push(marker_data);\r\n}\r\n\r\n\/\/\u30de\u30c3\u30d7\u306b\u30de\u30fc\u30ab\u30fc\u30af\u30e9\u30b9\u30bf\u30fc\u3092\u8ffd\u52a0\r\nvar markerCluster = new MarkerClusterer(map, clusterer, {imagePath: 'https:\/\/developers.google.com\/maps\/documentation\/javascript\/examples\/markerclusterer\/m'});\r\n\r\nautoZoom( maxLat, minLat, maxLng, minLng );\r\n\r\nfunction makeMarker( mapData ){\r\n    if( !mapData ) return false;\r\n\r\n    if(mapData.x &lt; minLat) minLat = mapData.x;\r\n    if(mapData.x &gt; maxLat) maxLat = mapData.x;\r\n    if(mapData.y &lt; minLng) minLng = mapData.y;\r\n    if(mapData.y &gt; maxLng) maxLng = mapData.y;\r\n\r\n    var marker = new google.maps.Marker({\r\n        position : new google.maps.LatLng(mapData.x,mapData.y), \r\n        map: map \r\n    });\r\n\r\n    var infoWindow = new google.maps.InfoWindow();\r\n    google.maps.event.addListener(marker, 'click', function() {\r\n        if( currentWindow ) currentWindow.close();\r\n\r\n        var tmp = '&lt;a href=\"'+mapData.link+'\"&gt;\u8a18\u4e8b\u3078\u30ea\u30f3\u30af&lt;\/a&gt;';\r\n        infoWindow.setContent(tmp);\r\n        infoWindow.open(map,marker);\r\n        currentWindow = infoWindow;\r\n    });\r\n    return marker;\r\n}\r\n\r\nfunction autoZoom( maxLat, minLat, maxLng, minLng ){\r\n    if( !maxLat || !minLat || !maxLng || !minLng ) return false;\r\n\r\n    var sw = new google.maps.LatLng(maxLat,minLng);\r\n    var ne = new google.maps.LatLng(minLat,maxLng);\r\n    var bounds = new google.maps.LatLngBounds(sw, ne);\r\n    map.fitBounds(bounds);\r\n}\r\n&lt;\/script&gt;<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>GoogleMap\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u4f7f\u3046\u3068\u7d4c\u5ea6\u7def\u5ea6\u3068\u4f4f\u6240\u304c\u5165\u308b\u306e\u3067\u4f7f\u3044\u3084\u3059\u3044\u3002\u307e\u305f\u3001\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u4e0a\u304b\u3089\u3082\u4f7f\u3044\u3084\u3059\u304f\u306a\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Advanced Custom Fields\u3067GoogleMap\u3092\u4f7f\u7528\u3057\u305f\u304b\u3063\u305f ... <\/p>\n","protected":false},"author":1,"featured_media":1093,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[24,71,70,41],"tags":[97],"class_list":["post-2943","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","category-google-maps-api","category-google","category-cms","tag-advanced-custom-fields"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Advanced Custom Fields\u3067GoogleMap\u3092\u4f7f\u7528\u3057\u305f\u304b\u3063\u305f\u3002\u8a2d\u5b9a\u4e0a\u304b\u3089\u9078\u3076\u3053\u3068\u306f\u3067\u304d\u308b\u304c\u3001\u305d\u306e\u307e\u307e\u3060\u3068\u8a18\u4e8b\u6295\u7a3f\u30da\u30fc\u30b8\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u305f\u3002\u3053\u306e\u8fba\u306e\u5bfe\u5fdc\u7b56\u3068\u3001\u5b9f\u969b\u306e\u30da\u30fc\u30b8\u8868\u793a\u65b9\u6cd5\u3092\u30e1\u30e2\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"taitan\"\/>\n\t<meta name=\"keywords\" content=\"wordpress,googlemap,advanced custom fields\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/taitan916.info\/blog\/archives\/2943\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Advanced Custom Fields\u3067GoogleMap\u306e\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta property=\"og:description\" content=\"Advanced Custom Fields\u3067GoogleMap\u3092\u4f7f\u7528\u3057\u305f\u304b\u3063\u305f\u3002\u8a2d\u5b9a\u4e0a\u304b\u3089\u9078\u3076\u3053\u3068\u306f\u3067\u304d\u308b\u304c\u3001\u305d\u306e\u307e\u307e\u3060\u3068\u8a18\u4e8b\u6295\u7a3f\u30da\u30fc\u30b8\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u305f\u3002\u3053\u306e\u8fba\u306e\u5bfe\u5fdc\u7b56\u3068\u3001\u5b9f\u969b\u306e\u30da\u30fc\u30b8\u8868\u793a\u65b9\u6cd5\u3092\u30e1\u30e2\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/taitan916.info\/blog\/archives\/2943\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images5.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images5.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"192\" \/>\n\t\t<meta property=\"og:image:height\" content=\"119\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2018-04-18T09:33:04+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-02-22T03:52:08+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Advanced Custom Fields\u3067GoogleMap\u306e\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Advanced Custom Fields\u3067GoogleMap\u3092\u4f7f\u7528\u3057\u305f\u304b\u3063\u305f\u3002\u8a2d\u5b9a\u4e0a\u304b\u3089\u9078\u3076\u3053\u3068\u306f\u3067\u304d\u308b\u304c\u3001\u305d\u306e\u307e\u307e\u3060\u3068\u8a18\u4e8b\u6295\u7a3f\u30da\u30fc\u30b8\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u305f\u3002\u3053\u306e\u8fba\u306e\u5bfe\u5fdc\u7b56\u3068\u3001\u5b9f\u969b\u306e\u30da\u30fc\u30b8\u8868\u793a\u65b9\u6cd5\u3092\u30e1\u30e2\u3002\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images5.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2943#article\",\"name\":\"Advanced Custom Fields\\u3067GoogleMap\\u306e\\u4f7f\\u7528\\u3059\\u308b\\u65b9\\u6cd5 | \\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"headline\":\"Advanced Custom Fields\\u3067GoogleMap\\u306e\\u4f7f\\u7528\\u3059\\u308b\\u65b9\\u6cd5\",\"author\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/images5.jpg\",\"width\":192,\"height\":119},\"datePublished\":\"2018-04-18T18:33:04+09:00\",\"dateModified\":\"2024-02-22T12:52:08+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2943#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2943#webpage\"},\"articleSection\":\"WordPress, Google Maps API, Google, CMS, Advanced Custom Fields\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2943#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms#listItem\",\"name\":\"CMS\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms#listItem\",\"position\":2,\"name\":\"CMS\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms\\\/wordpress#listItem\",\"name\":\"WordPress\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms\\\/wordpress#listItem\",\"position\":3,\"name\":\"WordPress\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms\\\/wordpress\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2943#listItem\",\"name\":\"Advanced Custom Fields\\u3067GoogleMap\\u306e\\u4f7f\\u7528\\u3059\\u308b\\u65b9\\u6cd5\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms#listItem\",\"name\":\"CMS\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2943#listItem\",\"position\":4,\"name\":\"Advanced Custom Fields\\u3067GoogleMap\\u306e\\u4f7f\\u7528\\u3059\\u308b\\u65b9\\u6cd5\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/cms\\\/wordpress#listItem\",\"name\":\"WordPress\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#person\",\"name\":\"taitan\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916\",\"name\":\"taitan\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2943#webpage\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2943\",\"name\":\"Advanced Custom Fields\\u3067GoogleMap\\u306e\\u4f7f\\u7528\\u3059\\u308b\\u65b9\\u6cd5 | \\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"description\":\"Advanced Custom Fields\\u3067GoogleMap\\u3092\\u4f7f\\u7528\\u3057\\u305f\\u304b\\u3063\\u305f\\u3002\\u8a2d\\u5b9a\\u4e0a\\u304b\\u3089\\u9078\\u3076\\u3053\\u3068\\u306f\\u3067\\u304d\\u308b\\u304c\\u3001\\u305d\\u306e\\u307e\\u307e\\u3060\\u3068\\u8a18\\u4e8b\\u6295\\u7a3f\\u30da\\u30fc\\u30b8\\u3067\\u30a8\\u30e9\\u30fc\\u304c\\u767a\\u751f\\u3057\\u3066\\u3044\\u305f\\u3002\\u3053\\u306e\\u8fba\\u306e\\u5bfe\\u5fdc\\u7b56\\u3068\\u3001\\u5b9f\\u969b\\u306e\\u30da\\u30fc\\u30b8\\u8868\\u793a\\u65b9\\u6cd5\\u3092\\u30e1\\u30e2\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2943#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/images5.jpg\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2943\\\/#mainImage\",\"width\":192,\"height\":119},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/2943#mainImage\"},\"datePublished\":\"2018-04-18T18:33:04+09:00\",\"dateModified\":\"2024-02-22T12:52:08+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/\",\"name\":\"\\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"description\":\"Web\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2 \\\/ \\u30d7\\u30ed\\u30b0\\u30e9\\u30de\\u304c\\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\\u3002\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Advanced Custom Fields\u3067GoogleMap\u306e\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"Advanced Custom Fields\u3067GoogleMap\u3092\u4f7f\u7528\u3057\u305f\u304b\u3063\u305f\u3002\u8a2d\u5b9a\u4e0a\u304b\u3089\u9078\u3076\u3053\u3068\u306f\u3067\u304d\u308b\u304c\u3001\u305d\u306e\u307e\u307e\u3060\u3068\u8a18\u4e8b\u6295\u7a3f\u30da\u30fc\u30b8\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u305f\u3002\u3053\u306e\u8fba\u306e\u5bfe\u5fdc\u7b56\u3068\u3001\u5b9f\u969b\u306e\u30da\u30fc\u30b8\u8868\u793a\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","canonical_url":"https:\/\/taitan916.info\/blog\/archives\/2943","robots":"max-image-preview:large","keywords":"wordpress,googlemap,advanced custom fields","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/taitan916.info\/blog\/archives\/2943#article","name":"Advanced Custom Fields\u3067GoogleMap\u306e\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","headline":"Advanced Custom Fields\u3067GoogleMap\u306e\u4f7f\u7528\u3059\u308b\u65b9\u6cd5","author":{"@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author"},"publisher":{"@id":"https:\/\/taitan916.info\/blog\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images5.jpg","width":192,"height":119},"datePublished":"2018-04-18T18:33:04+09:00","dateModified":"2024-02-22T12:52:08+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/taitan916.info\/blog\/archives\/2943#webpage"},"isPartOf":{"@id":"https:\/\/taitan916.info\/blog\/archives\/2943#webpage"},"articleSection":"WordPress, Google Maps API, Google, CMS, Advanced Custom Fields"},{"@type":"BreadcrumbList","@id":"https:\/\/taitan916.info\/blog\/archives\/2943#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/taitan916.info\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/cms#listItem","name":"CMS"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/cms#listItem","position":2,"name":"CMS","item":"https:\/\/taitan916.info\/blog\/archives\/category\/cms","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/cms\/wordpress#listItem","name":"WordPress"},"previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/cms\/wordpress#listItem","position":3,"name":"WordPress","item":"https:\/\/taitan916.info\/blog\/archives\/category\/cms\/wordpress","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/2943#listItem","name":"Advanced Custom Fields\u3067GoogleMap\u306e\u4f7f\u7528\u3059\u308b\u65b9\u6cd5"},"previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/cms#listItem","name":"CMS"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/2943#listItem","position":4,"name":"Advanced Custom Fields\u3067GoogleMap\u306e\u4f7f\u7528\u3059\u308b\u65b9\u6cd5","previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/cms\/wordpress#listItem","name":"WordPress"}}]},{"@type":"Person","@id":"https:\/\/taitan916.info\/blog\/#person","name":"taitan"},{"@type":"Person","@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author","url":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916","name":"taitan"},{"@type":"WebPage","@id":"https:\/\/taitan916.info\/blog\/archives\/2943#webpage","url":"https:\/\/taitan916.info\/blog\/archives\/2943","name":"Advanced Custom Fields\u3067GoogleMap\u306e\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"Advanced Custom Fields\u3067GoogleMap\u3092\u4f7f\u7528\u3057\u305f\u304b\u3063\u305f\u3002\u8a2d\u5b9a\u4e0a\u304b\u3089\u9078\u3076\u3053\u3068\u306f\u3067\u304d\u308b\u304c\u3001\u305d\u306e\u307e\u307e\u3060\u3068\u8a18\u4e8b\u6295\u7a3f\u30da\u30fc\u30b8\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u305f\u3002\u3053\u306e\u8fba\u306e\u5bfe\u5fdc\u7b56\u3068\u3001\u5b9f\u969b\u306e\u30da\u30fc\u30b8\u8868\u793a\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/taitan916.info\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/taitan916.info\/blog\/archives\/2943#breadcrumblist"},"author":{"@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author"},"creator":{"@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author"},"image":{"@type":"ImageObject","url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images5.jpg","@id":"https:\/\/taitan916.info\/blog\/archives\/2943\/#mainImage","width":192,"height":119},"primaryImageOfPage":{"@id":"https:\/\/taitan916.info\/blog\/archives\/2943#mainImage"},"datePublished":"2018-04-18T18:33:04+09:00","dateModified":"2024-02-22T12:52:08+09:00"},{"@type":"WebSite","@id":"https:\/\/taitan916.info\/blog\/#website","url":"https:\/\/taitan916.info\/blog\/","name":"\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"Web\u30a8\u30f3\u30b8\u30cb\u30a2 \/ \u30d7\u30ed\u30b0\u30e9\u30de\u304c\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\u3002","inLanguage":"ja","publisher":{"@id":"https:\/\/taitan916.info\/blog\/#person"}}]},"og:locale":"ja_JP","og:site_name":"\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","og:type":"article","og:title":"Advanced Custom Fields\u3067GoogleMap\u306e\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","og:description":"Advanced Custom Fields\u3067GoogleMap\u3092\u4f7f\u7528\u3057\u305f\u304b\u3063\u305f\u3002\u8a2d\u5b9a\u4e0a\u304b\u3089\u9078\u3076\u3053\u3068\u306f\u3067\u304d\u308b\u304c\u3001\u305d\u306e\u307e\u307e\u3060\u3068\u8a18\u4e8b\u6295\u7a3f\u30da\u30fc\u30b8\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u305f\u3002\u3053\u306e\u8fba\u306e\u5bfe\u5fdc\u7b56\u3068\u3001\u5b9f\u969b\u306e\u30da\u30fc\u30b8\u8868\u793a\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","og:url":"https:\/\/taitan916.info\/blog\/archives\/2943","og:image":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images5.jpg","og:image:secure_url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images5.jpg","og:image:width":192,"og:image:height":119,"article:published_time":"2018-04-18T09:33:04+00:00","article:modified_time":"2024-02-22T03:52:08+00:00","twitter:card":"summary","twitter:title":"Advanced Custom Fields\u3067GoogleMap\u306e\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","twitter:description":"Advanced Custom Fields\u3067GoogleMap\u3092\u4f7f\u7528\u3057\u305f\u304b\u3063\u305f\u3002\u8a2d\u5b9a\u4e0a\u304b\u3089\u9078\u3076\u3053\u3068\u306f\u3067\u304d\u308b\u304c\u3001\u305d\u306e\u307e\u307e\u3060\u3068\u8a18\u4e8b\u6295\u7a3f\u30da\u30fc\u30b8\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u305f\u3002\u3053\u306e\u8fba\u306e\u5bfe\u5fdc\u7b56\u3068\u3001\u5b9f\u969b\u306e\u30da\u30fc\u30b8\u8868\u793a\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","twitter:image":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2014\/05\/images5.jpg"},"aioseo_meta_data":{"post_id":"2943","title":"Advanced Custom Fields\u3067GoogleMap\u306e\u4f7f\u7528\u3059\u308b\u65b9\u6cd5 | #site_title","description":"Advanced Custom Fields\u3067GoogleMap\u3092\u4f7f\u7528\u3057\u305f\u304b\u3063\u305f\u3002\u8a2d\u5b9a\u4e0a\u304b\u3089\u9078\u3076\u3053\u3068\u306f\u3067\u304d\u308b\u304c\u3001\u305d\u306e\u307e\u307e\u3060\u3068\u8a18\u4e8b\u6295\u7a3f\u30da\u30fc\u30b8\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u305f\u3002\u3053\u306e\u8fba\u306e\u5bfe\u5fdc\u7b56\u3068\u3001\u5b9f\u969b\u306e\u30da\u30fc\u30b8\u8868\u793a\u65b9\u6cd5\u3092\u30e1\u30e2\u3002","keywords":[{"label":"wordpress","value":"wordpress"},{"label":"googlemap","value":"googlemap"}],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-03-11 05:11:53","updated":"2025-12-18 07:01:41","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/taitan916.info\/blog\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/taitan916.info\/blog\/archives\/category\/cms\" title=\"CMS\">CMS<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/taitan916.info\/blog\/archives\/category\/cms\/wordpress\" title=\"WordPress\">WordPress<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAdvanced Custom Fields\u3067GoogleMap\u306e\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/taitan916.info\/blog"},{"label":"CMS","link":"https:\/\/taitan916.info\/blog\/archives\/category\/cms"},{"label":"WordPress","link":"https:\/\/taitan916.info\/blog\/archives\/category\/cms\/wordpress"},{"label":"Advanced Custom Fields\u3067GoogleMap\u306e\u4f7f\u7528\u3059\u308b\u65b9\u6cd5","link":"https:\/\/taitan916.info\/blog\/archives\/2943"}],"_links":{"self":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/2943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/comments?post=2943"}],"version-history":[{"count":4,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/2943\/revisions"}],"predecessor-version":[{"id":4863,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/2943\/revisions\/4863"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media\/1093"}],"wp:attachment":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media?parent=2943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/categories?post=2943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/tags?post=2943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}