{"id":21139,"date":"2012-12-12T18:45:24","date_gmt":"2012-12-12T18:45:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/google-maps-skeleton\/"},"modified":"2012-12-12T19:10:11","modified_gmt":"2012-12-12T19:10:11","slug":"google-maps-skeleton","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/google-maps-skeleton\/","author":3397,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"3.5.2","requires":"3.4","requires_php":"","requires_plugins":"","header_name":"Google Maps Shell","header_author":"Aaron Brazell","header_description":"","assets_banners_color":"b9b6b5","last_updated":"2012-12-12 19:10:11","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/technosailor.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1423,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"637970","resolution":"772x250","location":"assets","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1571,2660],"plugin_category":[49],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-21139","plugin","type-plugin","status-publish","hentry","plugin_tags-google-maps","plugin_tags-maps","plugin_category-maps-and-location","plugin_committers-technosailor"],"banners":{"banner":"https:\/\/ps.w.org\/google-maps-skeleton\/assets\/banner-772x250.png?rev=637970","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/google-maps-skeleton_b9b6b5.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin is for developers and is meant to be used to enable Google Maps integration. While it does come with a default location, developers will want to feed the plugin a nested array of location data. This data can be manually curated or retrieved through external means.<\/p>\n <p>You need to use the filter <code>ab_google_maps_markers<\/code> and return the new nested array.<\/p>\n <p>Example:<\/p>\n <pre><code>function new_array( $markers ) {     $markers = (object) array( \n        array( \n            'lat' =&gt; '30.266132', \n            'lon' =&gt; '-97.745825',             'title' =&gt; 'Gingerman Austin',             'address' =&gt; '301 Lavaca St, Austin TX 78701'         ),         array(             'lat' =&gt; '30.2658',             'lon' =&gt; '-97.735691',             'title' =&gt; 'Easy Tiger Bake Shop and Beer Garden',             'address' =&gt; '709 East 6th St, Austin TX 78701'         ),     );     return $markers; } add_filter( 'ab_google_maps_markers', 'new_array' ); <\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>plugin-name.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Get a Google Maps API Key from the <a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/tutorial#api_key\">Google Developers Console<\/a><\/li>\n<li>Add <code>define( 'AB_GMAPS_API_KEY', 'foo');<\/code> to your <code>wp-config.php<\/code> file where <code>foo<\/code> is the API Key from Google.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n <ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"This plugin is meant to be used in conjunction with external code that provides necessary coordinates to the plugin.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/21139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=21139"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/technosailor"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=21139"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=21139"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=21139"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=21139"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=21139"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=21139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}