{"id":119275,"date":"2020-04-07T02:13:46","date_gmt":"2020-04-07T02:13:46","guid":{"rendered":"https:\/\/ja.wordpress.org\/plugins\/wp-nearbyfacilities\/"},"modified":"2020-04-09T08:10:45","modified_gmt":"2020-04-09T08:10:45","slug":"wp-nearbyfacilities","status":"publish","type":"plugin","link":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-nearbyfacilities\/","author":17876179,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.3","stable_tag":"v1.0.3","tested":"5.4.19","requires":"4.6","requires_php":"7.2","requires_plugins":"","header_name":"WP_NearbyFacilities","header_author":"shizuki","header_description":"Display markers at facilities near the specified point in googlemaps.","assets_banners_color":"","last_updated":"2020-04-09 08:10:45","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/shizuki.kinezumi.net\/2020\/04\/05\/wp-nearbyfacilities\/","header_author_uri":"http:\/\/shizuki.kinezumi.net\/about\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":2968,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>None.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["v1.0.3"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u751f\u6210UI\u30da\u30fc\u30b8(Shortcode generation UI page)"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5326,157456,157461,18315,183972],"plugin_category":[],"plugin_contributors":[183973],"plugin_business_model":[],"class_list":["post-119275","plugin","type-plugin","status-publish","hentry","plugin_tags-google-map","plugin_tags-google-map-nearby-places","plugin_tags-nearby-places","plugin_tags-wp-google-map","plugin_tags-wp-nearby-facilities","plugin_contributors-shizuki17xx","plugin_committers-shizuki17xx"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-nearbyfacilities.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>\u4e2d\u5fc3\u70b9\u3068\u691c\u7d22\u5bfe\u8c61\u3092\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u3001\u4e2d\u5fc3\u70b9\u3068\u691c\u7d22\u5bfe\u8c61\u306e\u305d\u308c\u305e\u308c\u306b\u30de\u30fc\u30ab\u30fc\u3092\u8868\u793a\u3059\u308bGoogle\u30de\u30c3\u30d7\u3092\u8868\u793a\u3059\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3059\u3002\n\u4f7f\u7528\u3092\u958b\u59cb\u3059\u308b\u524d\u306b\u3001Google Maps Platform\u3067API\u30ad\u30fc\u3092\u53d6\u5f97\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n<p>It is a plug-in that displays a Google Map that displays markers at each of the center point and search target simply by specifying the center point and search target.\nBefore you begin, you need to have an API key on Google Maps Platform.<\/p>\n\n<h3>Arbitrary section<\/h3>\n\n<!--section=installation-->\n<ol>\n<li><code>\/wp-content\/plugins<\/code>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3054\u3068\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n<li>WordPress\u306e\u300c\u30d7\u30e9\u30b0\u30a4\u30f3\u300d\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<\/li>\n<li>\u300cNearbyFacilities -&gt; \u8a2d\u5b9a\u300d\u30e1\u30cb\u30e5\u30fc\u304b\u3089API\u30ad\u30fc\u3092\u767b\u9332\u3057\u307e\u3059\u3002<\/li>\n<li><p>\u6295\u7a3f\u5185\u306b\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u3051\u3070Google Map\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\n\u4f8b\uff1a[nearbyFacilities address=\"\u4e2d\u5fc3\u70b9\u306e\u4f4f\u6240\" type=\"\u691c\u7d22\u5bfe\u8c61\u306e\u7a2e\u985e\" zoom=\"\u30ba\u30fc\u30e0\u30ec\u30d9\u30eb\" radius=\"\u691c\u7d22\u534a\u5f84\"]<\/p><\/li>\n<li><p>Upload the plugin file to the <code>\/wp-content\/plugins<\/code> directory.<\/p><\/li>\n<li>Activate the plugin through the \u2018Plugins\u2019 menu in WordPress.<\/li>\n<li>Register an API key from the \"NearbyFacilities -&gt; Settings\" menu.<\/li>\n<li>If you write a short code in the post, Google Map will be displayed.\nex\uff1a[nearbyFacilities address=\"center address of map\" type=\"type of search target\" zoom=\"zoom level\" radius=\"search radius\"]<\/li>\n<\/ol>\n\n<!--section=faq-->\n<ul>\n<li><p>\u4f55\u304b\u5fc5\u8981\u306a\u3082\u306e\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/p>\n\n<ul>\n<li>Google Maps Platform\u3067API\u30ad\u30fc\u3092\u53d6\u5f97\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\n\u4ee5\u4e0b\u306e\u30b5\u30a4\u30c8\u3092\u53c2\u8003\u306b\u30ad\u30fc\u3092\u53d6\u5f97\u3057\u3066\u3001Geocoding API\u3001Maps JavaScript API\u3001Places API\u306e\uff13\u3064\u3092\u6709\u52b9\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002\n[https:\/\/qiita.com\/k2999\/items\/a9f41ea697a4f955ec1c]<\/li>\n<\/ul><\/li>\n<li><p>What do I need to display the map?<\/p>\n\n<ul>\n<li><p>Yes. To display a map using the Google Maps API, you need a Google Maps API key.<\/p>\n\n<p>Obtain the key by referring to the following pages, etc., and enable the three APIs of Geocoding API, Maps JavaScript API, Places API.\n[https:\/\/qiita.com\/k2999\/items\/a9f41ea697a4f955ec1c]<\/p><\/li>\n<\/ul><\/li>\n<li><p>\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b\uff1f<\/p>\n\n<ul>\n<li>API\u30ad\u30fc\u3092\u767b\u9332\u3057\u305f\u5f8c <code>[nearbyFacilities address=\"\u4e2d\u5fc3\u70b9\u306e\u4f4f\u6240\" type=\"\u691c\u7d22\u5bfe\u8c61\u306e\u7a2e\u985e\" zoom=\"\u30ba\u30fc\u30e0\u30ec\u30d9\u30eb\" radius=\"\u691c\u7d22\u534a\u5f84\"]<\/code> \u306e\u66f8\u5f0f\u3067\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>\u4ee5\u4e0b\u306e\u65b9\u6cd5\u3067\u306bWebUI\u3067\u751f\u6210\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\n\n<ol>\n<li>\u300cNearbyFacilities -&gt; \u8a2d\u5b9a\u300d\u30e1\u30cb\u30e5\u30fc\u304b\u3089API\u30ad\u30fc\u3092\u767b\u9332\u3057\u307e\u3059\u3002<\/li>\n<li>\u300cNearbyFacilities -&gt; \u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u306e\u751f\u6210\u300d\u30e1\u30cb\u30e5\u30fc\u3067\u5404\u7a2e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a2d\u5b9a\u3057\u3001\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/li>\n<li>\u300c\u6c7a\u5b9a\u300d\u30dc\u30bf\u30f3\u30af\u30ea\u30c3\u30af\u3067\u6700\u4e0b\u90e8\u306e\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u306b\u751f\u6210\u3055\u308c\u305f\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u304c\u5165\u529b\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u81ea\u52d5\u7684\u306b\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u308b\u306e\u3067\u3001\u6295\u7a3f\u306e\u969b\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ol>\n\n<ul>\n<li>WebUI\u306b\u3042\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u4ed6\u306b\u3001\u30dc\u30c3\u30af\u30b9\u306e\u5e45\u3068\u9ad8\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059(\u300cpx\u300d\u307e\u305f\u306f\u300c%\u300d)\u3002<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<li><p>How do I get the shortcode to write ?<\/p>\n\n<ul>\n<li>After registering the API key, It can be written in the format of <code>[nearbyFacilities address=\"address of center point\" type=\"type of search target\" zoom=\"zoom level\" radius=\"search radius\"]<\/code> .<\/li>\n<li>It can also be generated in WebUI in the following ways.\n\n<ol>\n<li>Register an API key from the \"NearbyFacilities -&gt; Settings\" menu.<\/li>\n<li>Set various parameters in the \"NearbyFacilities-&gt; Generate Shortcode\" menu to generate a shortcode.<\/li>\n<li>Click the \"Submit\" button and the generated shortcode will be entered in the text box at the bottom.<\/li>\n<li>Clicking on the text box will automatically copy it to the clipboard, so paste it when posting.<\/li>\n<\/ol>\n\n<ul>\n<li>In addition to the parameters found in the WebUI, you can also specify the width and height of the box (\"px\" or \"%\").<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<li><p>\u300caddress\u300d\u306b\u8a2d\u5b9a\u3067\u304d\u308b\u306e\u306f\u4f4f\u6240\u3060\u3051\u3067\u3059\u304b\uff1f<\/p>\n\n<ul>\n<li>\u4f4f\u6240\u304c\u306f\u3063\u304d\u308a\u308f\u304b\u3089\u306a\u3044\u5834\u5408\u306f\u3001Google\u3067\u691c\u7d22\u3067\u304d\u308b\u306e\u3067\u3042\u308c\u3070\u5efa\u7269\u540d\u30fb\u65bd\u8a2d\u540d\u3067\u3082\u5927\u4e08\u592b\u3067\u3059\u3002<\/li>\n<\/ul><\/li>\n<li><p>Can only \"address\" be set for address?<\/p>\n\n<ul>\n<li>If you do not know the address, you can use the building name or facility name if you can search on Google.<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>\u91cd\u8907\u3057\u3066\u3044\u305f\u30b5\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u9805\u76ee\u540d\u3092\u4fee\u6b63(Fixed duplicate side menu item names)<\/li>\n<li>readme.txt\u306e\u4fee\u6b63(Modify readme.txt)<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>\u7ffb\u8a33\u30d5\u30a1\u30a4\u30eb\u8aad\u307f\u8fbc\u307f\u306e\u95a2\u6570\u3092\u30af\u30e9\u30b9\u5185\u306b\u53ce\u5bb9(Contains translation file reading function in class)<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30b9\u30bf\u30a4\u30eb\u306e\u4fee\u6b63(Modify coding style)<\/li>\n<li>\u52d5\u4f5c\u3057\u3066\u3044\u306a\u3044javascript\u306e\u8aad\u307f\u8fbc\u307f\u3092\u6291\u5236(Suppress loading of javascript that is not working)<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>\u516c\u5f0f\u7533\u8acb\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3002\u9650\u5b9a\u3055\u308c\u305f\u74b0\u5883\u3067\u3057\u304b\u52d5\u304b\u306a\u304b\u3063\u305f(Version before official application. Only worked in a limited environment)<\/li>\n<\/ul>","raw_excerpt":"\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3067\u6307\u5b9a\u3057\u305f\u4e2d\u5fc3\u70b9\u3068\u305d\u306e\u5468\u8fba\u65bd\u8a2d\u306b\u30de\u30fc\u30ab\u30fc\u3092\u8868\u793a\u3057\u305fGoogleMap\u3092\u8868\u793a\u3057\u307e\u3059\u3002 Displays GoogleMap with markers at the center point specified by the shortcode and surrounding facil &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/119275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=119275"}],"author":[{"embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/shizuki17xx"}],"wp:attachment":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=119275"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=119275"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=119275"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=119275"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=119275"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=119275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}