{"id":15522,"date":"2011-11-01T01:01:18","date_gmt":"2011-11-01T01:01:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/mapbox\/"},"modified":"2012-07-31T18:21:43","modified_gmt":"2012-07-31T18:21:43","slug":"mapbox","status":"closed","type":"plugin","link":"https:\/\/tw.wordpress.org\/plugins\/mapbox\/","author":8487673,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.1","stable_tag":"1.1.1","tested":"3.4.2","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Mapbox","header_author":"Mapbox","header_description":"","assets_banners_color":"","last_updated":"2012-07-31 18:21:43","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/mapbox.com\/","header_author_uri":"http:\/\/mapbox.com","rating":5,"author_block_rating":0,"active_installs":100,"downloads":9632,"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":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2660],"plugin_category":[49],"plugin_contributors":[84093],"plugin_business_model":[],"class_list":["post-15522","plugin","type-plugin","status-closed","hentry","plugin_tags-maps","plugin_category-maps-and-location","plugin_contributors-miccolis","plugin_committers-jueyang","plugin_committers-miccolis"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/mapbox.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Using the MapBox plugin you can quickly and easily embed maps from MapBox Hosting into your site. MapBox hosting is an easy-to-use service for hosting maps. Whether you design custom maps in <a href=\"http:\/\/mapbox.com\/tilemill\/\">TileMill<\/a> or use the existing layers in our tileset library, MapBox makes it easy get maps onto your site.<\/p>\n\n<ol>\n<li>Visit <a href=\"http:\/\/tiles.mapbox.com\">tiles.mapbox.com<\/a> and find the map you want to embed.<\/li>\n<li>When viewing the map click the \"Embed\" button. It's in the bottom right corner of the map.<\/li>\n<li>Adjust the height and width of the map in the popup.<\/li>\n<li>When you're happy with the map, copy the 'embed code'. It begins with \"&lt;iframe\".<\/li>\n<li>On your Wordpress site add a new post, or edit an existing one.<\/li>\n<li>Switch the editor to \"HTML\" and paste the embed code where you'd like the map.<\/li>\n<li>Save, then view your post and enjoy the map!<\/li>\n<\/ol>\n\n<p>You may notice that the MapBox plugin converts the embed code into a Wordpress <a href=\"http:\/\/en.support.wordpress.com\/shortcodes\/\">shortcode<\/a>. The <code>mapbox<\/code> shortcode can take several options, all of which are optional. The order doesn't matter at all.<\/p>\n\n<ul>\n<li><code>layers<\/code> - a comma seperated list of layers. The format of each layer is <code>{account}.{layer}<\/code>.<\/li>\n<li><code>width<\/code> - the desired width of the map, in pixels.<\/li>\n<li><code>height<\/code> - the desired height of the map, in pixels.<\/li>\n<li><code>lat<\/code> - The latitude where the map should be centered.<\/li>\n<li><code>lon<\/code> - The longitude where the map should be centered.<\/li>\n<li><code>z<\/code> - The 'zoom level' of the map. Zoom level '12' is a street level view, '1' is the view from the moon.<\/li>\n<li><code>options<\/code> - Controls and other options, a comma seperated list.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Upload the Mapbox plugin to your site and activate it in the usual manner.<\/p>\n\n<!--section=changelog-->\n<p><strong>1.1.1<\/strong><\/p>\n\n<pre><code>- Bugfix for double quoted shortcode attributes.\n<\/code><\/pre>\n\n<p><strong>1.1.0<\/strong><\/p>\n\n<pre><code>- Support the v3 embed API.\n- Properly santize shortcode attributes.\n<\/code><\/pre>\n\n<p><strong>1.0.0<\/strong><\/p>\n\n<pre><code>- Initial Release.\n<\/code><\/pre>","raw_excerpt":"MapBox makes it easy to embed beautiful maps in your posts.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/15522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=15522"}],"author":[{"embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/miccolis"}],"wp:attachment":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=15522"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=15522"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=15522"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=15522"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=15522"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=15522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}