{"id":91603,"date":"2018-10-01T00:29:25","date_gmt":"2018-10-01T00:29:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/waypoint\/"},"modified":"2018-10-29T16:56:24","modified_gmt":"2018-10-29T16:56:24","slug":"waypoint","status":"closed","type":"plugin","link":"https:\/\/ja.wordpress.org\/plugins\/waypoint\/","author":10150558,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"trunk","tested":"4.9.31","requires":"","requires_php":"5.4","requires_plugins":"","header_name":"Waypoint","header_author":"Sideways8 Interactive, LLC","header_description":"Add locations and Google Maps integration to WordPress.","assets_banners_color":"","last_updated":"2018-10-29 16:56:24","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/sideways8.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":588,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1571,351,2660],"plugin_category":[49],"plugin_contributors":[83031],"plugin_business_model":[],"class_list":["post-91603","plugin","type-plugin","status-closed","hentry","plugin_tags-google-maps","plugin_tags-locations","plugin_tags-maps","plugin_category-maps-and-location","plugin_contributors-sideways8","plugin_committers-sideways8"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/waypoint.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Waypoint adds locations data and integrates Google Maps with WordPress.<\/p>\n\n<h3>Requirements<\/h3>\n\n<ul>\n<li><p>You need a valid Google Maps API Key. <a href=\"https:\/\/cloud.google.com\/maps-platform\/#get-started\">Get API Key<\/a>.<\/p><\/li>\n<li><p>The API Key must have <strong>MAPS<\/strong> and <strong>PLACES<\/strong> enabled.<\/p><\/li>\n<\/ul>\n\n<h3>Getting Started<\/h3>\n\n<ol>\n<li>Install and activate Waypoint plugin<\/li>\n<li>From WP Admin, go to Waypoint -&gt; Settings<\/li>\n<li>On the Google settings tab, enter your Google API Key, then save settings.<\/li>\n<\/ol>\n\n<p>With a valid Google API key in place, we are ready to go!<\/p>\n\n<h3>Usage<\/h3>\n\n<p>Maps are embedded onto pages with via the <strong>[waypoint_map]<\/strong> short code.<\/p>\n\n<p>Waypoint offers two approaches to populating a map\\'s content with locations:<\/p>\n\n<h3>Approach 1: Location data directly in short code<\/h3>\n\n<p>Location data can be passed directly to [waypoint_map] to generate a map for a specified location.\nThis approach may be better if you do not need to manage many locations.<\/p>\n\n<p><strong>[waypoint_map] Single Location Attributes<\/strong><\/p>\n\n\n\n\n  Key\n  Type\n  Description\n\n\n\n\n  lat\n  float\n  The location\\'s geographical latitude.\n\n\n  lng\n  float\n  The location\\'s geographical longitude.\n\n\n  address\n  string\n  The location\\'s address. If <strong>lat<\/strong> and <strong>lng<\/strong> are specified, <strong>address<\/strong> will be ignored. Note: the specified address will be passed to the Google API in order to geocode the input address, and the <em>first<\/em> result returned by Google will be used. Results are cached to prevent excessive calls to Google API.\n\n\n  content\n  string\n  The content that appears in the info box when clicking a map pin, for example, the location\\'s name. If not specified, Waypoint will attempt to generate content based on the location name and\/or address if returned by Google.\n\n\n\n\n<p><strong>Examples<\/strong><\/p>\n\n<ol>\n<li>By <strong>lat<\/strong> and <strong>lng<\/strong>: <code>[waypoint_map lat=\\\"33.7557301\\\" lng=\\\"-84.392147\\\" content=\\\"Atlanta, GA\\\"]<\/code><\/li>\n<li>By <strong>address<\/strong> <code>[waypoint_map address=\\\"New York City, NY\\\"]<\/code><\/li>\n<\/ol>\n\n<h3>Approach 2: Configure maps in WP Admin<\/h3>\n\n<p><em>Maps<\/em> and <em>Locations<\/em> can added into the WP Admin area, then printed with a reference to the post ID.\nThis approach offers the highest level of customization.<\/p>\n\n<p>First, you should add some <em>Locations<\/em> into the WordPress administration via Waypoint -&gt; Locations.<\/p>\n\n<p>Next, create a <em>Map<\/em> that will display your locations.<\/p>\n\n<p>Currently, a map can pull <strong>all<\/strong> locations or select locations by associated taxonomy terms, by <strong>categories<\/strong>.<\/p>\n\n<p>Once configured, the map can be embedded via <code>[waypoint_map id=\\\"123\\\"\"]<\/code> (where 123 is the post ID).<\/p>","raw_excerpt":"Waypoint adds locations data and integrates Google Maps with WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/91603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=91603"}],"author":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sideways8"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=91603"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=91603"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=91603"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=91603"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=91603"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=91603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}