{"id":126210,"date":"2020-08-10T07:46:30","date_gmt":"2020-08-10T07:46:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wp-web-maps\/"},"modified":"2020-08-14T19:57:42","modified_gmt":"2020-08-14T19:57:42","slug":"wp-web-maps","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/wp-web-maps\/","author":14375423,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2.2","stable_tag":"0.2.2","tested":"5.4.19","requires":"4.6","requires_php":"5.6","requires_plugins":"","header_name":"WP Web Maps","header_author":"pjhooker","header_description":"A plugin for creating a Leaflet JS map with a shortcode..","assets_banners_color":"92afe4","last_updated":"2020-08-14 19:57:42","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/pjhooker","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/wp-web-maps\/","header_author_uri":"https:\/\/www.cityplanner.biz\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1095,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>Not available at the moment.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"2355874","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"2355874","resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":"2355874","resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500-rtl.png":{"filename":"banner-1544x500-rtl.png","revision":"2355874","resolution":"1544x500","location":"assets","locale":""},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"2355874","resolution":"1544x500","location":"assets","locale":""},"banner-772x250-rtl.png":{"filename":"banner-772x250-rtl.png","revision":"2355874","resolution":"772x250","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"2355874","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.4","0.2.0","0.2.1","0.2.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2355874","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"2359789","resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"2359789","resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"2359789","resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"2359789","resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":"2359789","resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":"2359789","resolution":"7","location":"assets","locale":""},"screenshot-8.png":{"filename":"screenshot-8.png","revision":"2359789","resolution":"8","location":"assets","locale":""}},"screenshots":{"1":"Simple example.","2":"Settings page.","3":"Custom post type for code.","4":"Custom post type example Javascript.","5":"Custom post type example GeoJSON.","6":"Put the shortcode into the post.","7":"Simple example version 0.2.2","8":"Mobile ready!"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[26981,149223,2909,841,125403],"plugin_category":[49,59],"plugin_contributors":[189367],"plugin_business_model":[],"class_list":["post-126210","plugin","type-plugin","status-publish","hentry","plugin_tags-gis","plugin_tags-leafletjs","plugin_tags-map","plugin_tags-mobile","plugin_tags-qgis","plugin_category-maps-and-location","plugin_category-utilities-and-tools","plugin_contributors-pjhooker","plugin_committers-pjhooker"],"banners":{"banner":"https:\/\/ps.w.org\/wp-web-maps\/assets\/banner-772x250.png?rev=2355874","banner_2x":"https:\/\/ps.w.org\/wp-web-maps\/assets\/banner-1544x500.png?rev=2355874","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/wp-web-maps\/assets\/icon.svg?rev=2355874","icon":"https:\/\/ps.w.org\/wp-web-maps\/assets\/icon.svg?rev=2355874","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-web-maps\/assets\/screenshot-1.png?rev=2355874","caption":"Simple example."},{"src":"https:\/\/ps.w.org\/wp-web-maps\/assets\/screenshot-2.png?rev=2359789","caption":"Settings page."},{"src":"https:\/\/ps.w.org\/wp-web-maps\/assets\/screenshot-3.png?rev=2359789","caption":"Custom post type for code."},{"src":"https:\/\/ps.w.org\/wp-web-maps\/assets\/screenshot-4.png?rev=2359789","caption":"Custom post type example Javascript."},{"src":"https:\/\/ps.w.org\/wp-web-maps\/assets\/screenshot-5.png?rev=2359789","caption":"Custom post type example GeoJSON."},{"src":"https:\/\/ps.w.org\/wp-web-maps\/assets\/screenshot-6.png?rev=2359789","caption":"Put the shortcode into the post."},{"src":"https:\/\/ps.w.org\/wp-web-maps\/assets\/screenshot-7.png?rev=2359789","caption":"Simple example version 0.2.2"},{"src":"https:\/\/ps.w.org\/wp-web-maps\/assets\/screenshot-8.png?rev=2359789","caption":"Mobile ready!"}],"raw_content":"<!--section=description-->\n<p>Leaflet Map is free software: you can redistribute it and\/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or\nany later version.<\/p>\n\n<p>Leaflet Map is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.<\/p>\n\n<p>You should have received a copy of the GNU General Public License\nalong with Leaflet Map.<\/p>\n\n<p>Add a map generated with <a href=\"http:\/\/leafletjs.com\/\">LeafletJS<\/a>: an open-source JavaScript library for mobile-friendly interactive maps. Map tiles are provided by default through <a href=\"https:\/\/www.google.com\/maps\">GoogleMaps<\/a>.<\/p>\n\n<h4>Maps<\/h4>\n\n<p>Simply create a <strong>map<\/strong> with:<\/p>\n\n<pre><code>[webmap] or `[webmap  wpwebmapsID=\"9482\"]`\n<\/code><\/pre>\n\n<h4>Developers and curious<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/pjhooker\/wp-web-maps\">Nightly version of plugin<\/a><\/li>\n<\/ul>\n\n<h4>Links<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/pjhooker\/wp-web-maps\">GitHub repositories<\/a><\/li>\n<li><a href=\"https:\/\/www.notion.so\/cityplanner\/WP-Web-Maps-7903b5e4997f4423a0dd288731cca266\">Documentation<\/a><\/li>\n<li><a href=\"https:\/\/www.youtube.com\/playlist?list=PLc5INoe6kboZPWlcfJ2DCCkLvHI3YvqW5\">Video tutorial<\/a><\/li>\n<li><a href=\"https:\/\/t.me\/pjhooker\">Direct free support<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/pjhooker\/wp-web-maps\/commits\/master\">History<\/a><\/li>\n<li><a href=\"https:\/\/codepen.io\/collection\/DaQGVe\">Test examples<\/a><\/li>\n<\/ul>\n\n<h4>More<\/h4>\n\n<p>In the sidebar of Admin dashboard you can see a new posts type menu called Web Maps.<\/p>\n\n<p>Here you can add all maps that you want.<\/p>\n\n<p>In this Web Maps post type, there is a custom field, where you can place a custom JS code like these examples <a href=\"https:\/\/github.com\/pjhooker\/wp-web-maps\/tree\/master\/example\">WpWebMaps example code<\/a>.<\/p>\n\n<p>For insert any Web Maps in your post, you can add shortcode like this <code>[webmap  wpwebmapsID=\"9482\"]<\/code>, where the number 9482 is the id of custom post.<\/p>\n\n<h3>Do you want a customized plugin? Contact me<\/h3>\n\n<p>Here's a link <a href=\"https:\/\/t.me\/pjhooker\">Telegram DM<\/a>.\nIf you want a customized plugin, just contact me.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Choose to add a new plugin, then click upload<\/li>\n<li>Upload the wp-web-maps zip<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Use the shortcodes in your pages or posts: e.g. <code>[webmap]<\/code><\/li>\n<\/ol>\n\n<p>-or.<\/p>\n\n<p>Download and install the .zip file in the Wordpress plugin page of your website<\/p>\n\n<p>-or-<\/p>\n\n<ol>\n<li>Unzip and upload the <code>mobile-blocks<\/code> directory into the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Done!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt><h3>Whoa, what's with all these plugins?<\/h3><\/dt>\n<dd><p>The principle behind this plugin is to insert map in your posts and learn how code works.<\/p><\/dd>\n<dt><h3>Can I customize the map?<\/h3><\/dt>\n<dd><p>The map is almost completely customizable; with the examples I post in <a href=\"https:\/\/github.com\/pjhooker\/wp-web-maps\/tree\/master\/example\">GitHub<\/a>, \nit will be easy to understand how the code works and how to quickly change the code.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>fix function name;<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>add JS and CSS vendors with version in file name;<\/li>\n<li>Add CPType and Custom Field;<\/li>\n<li>Insert jQuery if don't exist;<\/li>\n<li>Add library JS and CSS with version; add base_leaflet JS for codepen;add readme for example;<\/li>\n<li>Add Geojson category; add template for geojson category;<\/li>\n<li>Fix Error :Request header field Content-Type is not allowed by Access-Control-Allow-Headers;<\/li>\n<li>Create example003.js - Simple load Geojson from WP (003);<\/li>\n<\/ul>\n\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>add CPType Web Maps;<\/li>\n<li>add custom field for insert JS code;<\/li>\n<li>add attributes to shortcode for get custom JS code form single Web Map;<\/li>\n<li>update readme;<\/li>\n<\/ul>\n\n<h4>0.1.4<\/h4>\n\n<ul>\n<li>initial Version;<\/li>\n<li>basic map creation and marker creation;<\/li>\n<\/ul>","raw_excerpt":"A plugin for creating a interactive Leaflet JS map with a shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/126210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=126210"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pjhooker"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=126210"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=126210"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=126210"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=126210"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=126210"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=126210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}