{"id":88719,"date":"2018-07-14T06:48:32","date_gmt":"2018-07-14T06:48:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/geo-masala\/"},"modified":"2019-12-08T09:00:38","modified_gmt":"2019-12-08T09:00:38","slug":"geo-masala","status":"closed","type":"plugin","link":"https:\/\/es-co.wordpress.org\/plugins\/geo-masala\/","author":15137674,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.4","stable_tag":"trunk","tested":"4.9.31","requires":"4.9.6","requires_php":"5.6","requires_plugins":"","header_name":"Geo Masala","header_author":"jhotadhari","header_description":"Add interactive Leaflet Maps. A new block for gutenberg: 'Geo Masala Map'","assets_banners_color":"bbafa8","last_updated":"2019-12-08 09:00:38","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/waterproof-webdesign.info\/donate","header_plugin_uri":"https:\/\/github.com\/jhotadhari\/geo-masala","header_author_uri":"https:\/\/waterproof-webdesign.info","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1677,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":{"":"<p>This Plugin is still in early development. Reality might be in movement.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1909130","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1909130","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1909130","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1909130","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.0.1","0.0.10","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.0.9","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1919416","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1919416","resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1919416","resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1919416","resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Block Overview","2":"Edit Popup Content","3":"Edit Feature appearance (Marker)","4":"Edit Feature appearance (Line, Polygone ...)"}},"plugin_section":[],"plugin_tags":[1220,2591,148076,4595,2909],"plugin_category":[49],"plugin_contributors":[131695],"plugin_business_model":[],"class_list":["post-88719","plugin","type-plugin","status-closed","hentry","plugin_tags-block","plugin_tags-geo","plugin_tags-gutenberg","plugin_tags-leaflet","plugin_tags-map","plugin_category-maps-and-location","plugin_contributors-jhotadhari","plugin_committers-jhotadhari"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/geo-masala_bbafa8.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/geo-masala\/assets\/screenshot-1.png?rev=1919416","caption":"Block Overview"},{"src":"https:\/\/ps.w.org\/geo-masala\/assets\/screenshot-2.png?rev=1919416","caption":"Edit Popup Content"},{"src":"https:\/\/ps.w.org\/geo-masala\/assets\/screenshot-3.png?rev=1919416","caption":"Edit Feature appearance (Marker)"},{"src":"https:\/\/ps.w.org\/geo-masala\/assets\/screenshot-4.png?rev=1919416","caption":"Edit Feature appearance (Line, Polygone ...)"}],"raw_content":"<!--section=description-->\n<ul>\n<li>## Deprecated<\/li>\n<li>This project is no longer active and not recommended for use.<\/li>\n<li>It works with WordPress version &lt; 5.0 and the gutenberg plugin. But it doesn't work with any current version!<\/li>\n<li>It is left here for reference<\/li>\n<\/ul>\n\n<p>Highly customizable Map Block for Gutenberg, based on Leaflet<\/p>\n\n<ul>\n<li>Customize the Map and its Features directly from within the <strong>Gutenberg Block<\/strong><\/li>\n<li><strong>Draw and edit Features<\/strong>. Markers, Lines, Polygons ...<\/li>\n<li><strong>Customize Feature-Appearance<\/strong>. Icon\/Shadow, Color, Opacity, Class-Names ...<\/li>\n<li>A <strong>Wysiwyg Editor<\/strong> to Edit the Popup-Content. Use <strong>Images\/Videos\/Audios<\/strong> inside the Popup-Content<\/li>\n<li><strong>Customize the Map<\/strong> itself. Dimensions, Baselayers, Controls ...<\/li>\n<li>Map Features are shareable and can be used between users and posts (depending on Features settings)<\/li>\n<\/ul>\n\n<blockquote>\n  <p>Geo Masala on <a href=\"https:\/\/github.com\/jhotadhari\/geo-masala\">GitHub<\/a>.<br \/>It's open-source, free as freedom, free of cost and it will remain free.<\/p>\n<\/blockquote>\n\n<h4>How to use<\/h4>\n\n<p>Edit any Post with gutenberg and add a 'Geo Masala Map' block, save post and done. Your post will display a map.<\/p>\n\n<ul>\n<li>Draw some Features or select some from the Feature-Panel.\n\n<ul>\n<li>The default Status for a new Feature is draft, only published ones are displayed in frontend.<\/li>\n<li>To get Features from other posts\/users, open Feature-Panel and adjust the Filters.<\/li>\n<\/ul><\/li>\n<li>Edit the Feature, change status, icon or color, change the popup content and title.<\/li>\n<li>Open the Map Settings Panel and customize the controls.<\/li>\n<li>Change the Feature sharing settings for a single Feature, and reuse the Feature in other Posts<\/li>\n<li>...<\/li>\n<\/ul>\n\n<blockquote>\n  <p>The <a href=\"https:\/\/wordpress.org\/plugins\/gutenberg\/\">Gutenberg Editor Plugin<\/a> <strong>is required<\/strong> for WordPress versions prior to 5.0, see <a href=\"https:\/\/wordpress.org\/plugins\/geo-masala\/#installation\">requirements<\/a><\/p>\n<\/blockquote>\n\n<h4>What is a Feature?<\/h4>\n\n<p>The term \"Feature\" is used in the cartographic context. A representation of a real-world object on a map (<a href=\"https:\/\/support.esri.com\/en\/other-resources\/gis-dictionary\/term\/dcc335be-78ae-4bd2-b254-b44c37343f75\">feature|Definition - Esri Support GIS Dictionary<\/a>).\nWithin this plugin, a Feature can represent a simple location (Marker), a way\/route\/track (Polyline) or an Area (Polygon\/Rectangle).\nA couple of properties are stored with the Feature, eg. appereance and popup-content data.<\/p>\n\n<h4>How does the Plugin work?<\/h4>\n\n<p>A Feature is saved as a post type, and not saved to the Block!<\/p>\n\n<ul>\n<li>The Plugin registered a new custom-post-type 'geom_feature'. Each geom_feature is used to store a single cartographic Feature, formatted in geoJSON. The cartographic Feature and other data (appearance, popup-content ...) are stored as post-meta.<\/li>\n<li>The geom_feature is registered without wordpress ui (List table and editing screen) or appearance in admin-navigation or admin-bar.<\/li>\n<li>When editing any post with gutenberg, the 'Geo Masala Map' block displays a leaflet map and some settings-panels beneath it. All crud actions (create, read, update, delete) for geom_feature(s) are handled within the editor block using the wp rest api and its backbone client. All geom_feature crud actions are saved immediately (Some ui elements have reset\/save buttons).<\/li>\n<li>default post_status for geom_feature(s) is 'draft'.<\/li>\n<li>The Features-Panel lists geom_features. Features on Map are highlighted. If a Feature gets removed from map, the geom_feature is still saved and available to use.<\/li>\n<li>Therefor a Feature created by one post can be used in another post as well (depending on the individual feature settings). All changes made to a geom_feature are saved immediately and will effect all posts where the Feature is displayed.<\/li>\n<li>All attributes related to the map (and not to its features) are stored as block attributes.<\/li>\n<\/ul>\n\n<h4>In Development<\/h4>\n\n<p>The Plugin is in early development (and needs a sponsor to go on).\nSome ui will change and more options will be added.<\/p>\n\n<p>Coming soon hopefully:<\/p>\n\n<ul>\n<li>wiki and tutorials<\/li>\n<li>Possibility to draw routes on a map.<\/li>\n<li>Import for gpx\/geoJSON\/kml<\/li>\n<li>Method to add altitude and slope values for features<\/li>\n<li>Elevation profile for line\/routes<\/li>\n<li>Color line\/routes by z value or slope<\/li>\n<li>...<\/li>\n<\/ul>\n\n<p>Known issues:<\/p>\n\n<ul>\n<li>Currently there is a maximum for hundred Features, will be changed in future.<\/li>\n<li>Feature Sharing: The popover control controls if the Feature appears in a Feature-Pool. If it is already in use somwhere, it will still be used, but just not displayed in Feature-Panel.<\/li>\n<\/ul>\n\n<h4>Contribute<\/h4>\n\n<ul>\n<li>Most welcome :)<\/li>\n<li>Geo-Masala is free and open source. The source is hosted on <a href=\"https:\/\/github.com\/jhotadhari\/geo-masala\">GitHub<\/a>. So dig the code as you like.<\/li>\n<li>For <strong>support<\/strong>, to <strong>request new plugin-features<\/strong> or inform me about <strong>issues and bugs<\/strong> <a href=\"https:\/\/github.com\/jhotadhari\/geo-masala\/issues\/new\">create a new issue on Github<\/a> or <a href=\"https:\/\/wordpress.org\/support\/plugin\/geo-masala\">add a new topic to WP's support forum<\/a><\/li>\n<li>Love to get your <strong>feedback<\/strong>, <a href=\"https:\/\/wordpress.org\/support\/plugin\/geo-masala\/reviews\/#new-post\">Create a new review and rate this Plugin<\/a>, write a tutorial and tell your friends.<\/li>\n<li><a href=\"https:\/\/waterproof-webdesign.info\/en\/#contact\">Tell me<\/a> your wishes, maybe get me a bowl of rice and some masala: <a href=\"http:\/\/waterproof-webdesign.info\/donate\">Donate<\/a><\/li>\n<\/ul>\n\n<blockquote>\n  <p>I'm hungry, cycling around the world and Geo-Masala is coded while sitting wet in a tent during Monsoon somwhere in south himalaya. I appreaciate any kind of <a href=\"http:\/\/waterproof-webdesign.info\/donate\">donation<\/a> or sponsorship.<\/p>\n<\/blockquote>\n\n<h4>Thanks for beautiful ressoucres<\/h4>\n\n<ul>\n<li>WordPress, the <a href=\"https:\/\/developer.wordpress.org\/rest-api\/\">WP REST API<\/a>, the <a href=\"https:\/\/developer.wordpress.org\/rest-api\/using-the-rest-api\/backbone-javascript-client\/\">Backbone JavaScript Client<\/a> and the <a href=\"https:\/\/wordpress.org\/gutenberg\/handbook\/\">Gutenberg Editor<\/a> and its components.<\/li>\n<li><a href=\"http:\/\/backbonejs.org\/\">Backbone<\/a>, <a href=\"http:\/\/marionettejs.com\/\">Backbone Marionette<\/a>, <a href=\"https:\/\/www.npmjs.com\/package\/backbone.deep-model\">Backbone Deep Model<\/a> and <a href=\"https:\/\/github.com\/onsi\/cocktail\">Backbone Cocktail<\/a>.<\/li>\n<li><a href=\"https:\/\/reactjs.org\/\">React<\/a>, <a href=\"https:\/\/github.com\/bvaughn\/react-virtualized\">react-virtualized<\/a> and <a href=\"https:\/\/github.com\/khan\/react-multi-select\">react-multi-select<\/a><\/li>\n<li><a href=\"http:\/\/leafletjs.com\/\">Leaflet<\/a> and Plugins:\n\n<ul>\n<li><a href=\"https:\/\/github.com\/Leaflet\/Leaflet.draw\">Leaflet Draw<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/justinmanley\/leaflet-draw-toolbar\">Leaflet Draw Toolbar<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/smeijer\/leaflet-geosearch\">Leaflet Geosearch<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/ebrelsford\/Leaflet.loading\">Leaflet Loading<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/leaflet-extras\/leaflet-providers\">Leaflet Providers<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/brunob\/leaflet.fullscreen\">Leaflet Fullscreen<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Leaflet\/Leaflet.toolbar\">Leaflet Toolbar<\/a><\/li>\n<\/ul><\/li>\n<li>This Plugin is generated with <a href=\"https:\/\/github.com\/jhotadhari\/generator-pluginboilerplate\">generator-pluginboilerplate version 1.2.3<\/a><\/li>\n<li>Background for plugin banner and icon <a href=\"http:\/\/opentopomap.org\/\">OpenTopoMap<\/a><\/li>\n<li>...<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h3>Requirements:<\/h3>\n\n<ul>\n<li>JavaScript needs to be enabled<\/li>\n<li>The <a href=\"https:\/\/wordpress.org\/plugins\/gutenberg\/\">Gutenberg Editor Plugin<\/a> is required for WordPress versions prior to 5.0<\/li>\n<li>It works on <strong>php version 5.6<\/strong>. For <strong>older php versions<\/strong>, edit the dependency <code>php_version<\/code> on line 34 in <code>.\/geo-masala.php<\/code> and test it. <a href=\"https:\/\/waterproof-webdesign.info\/en\/#contact\">Report<\/a> me your tests, I really appreciate.<\/li>\n<\/ul>\n\n<p>Upload and install this Plugin the same way you'd install any other plugin.<\/p>\n\n<!--section=changelog-->\n<p>0.1.4\n- fixed an error. Removed all calls to wp.utils<\/p>\n\n<p>0.1.3\n- compatible with Gutenberg v3.7.0 and WordPress v4.9.8;<\/p>\n\n<p>0.1.2\n- compatible with Gutenberg v3.6.2 and WordPress v4.9.8\n- fix: lazy load script on frontend. only if el .wp-block-geom-map exist;\n- tweak: enqueue frontend asset-entry-scripts on all sites, and lazy load large scripts. before enqueue only if global post has block, so failed on archive pages;<\/p>\n\n<p>0.1.1\n- Fixed error on archive pages;\n- Read the commit massages for further details;<\/p>\n\n<p>0.1.0\n- compatible with wp 4.9.8 and gb 3.4.0;\n- Added use of post_status for geom_features ( 'publish', 'draft' and 'trash' );\n- restructuring blockUi;\n- ui: merged FeatureListPanel and its Feature Pool into one component FeatureList;<\/p>\n\n<p>0.0.10\n- compatible with gutenberg 3.3.0;\n- lazyloading scripts using load-js on frontend and admin;\n- New style for block panels;\n- Read the commit massages for further details;<\/p>\n\n<p>0.0.9\n- Use Images\/Videos\/Audios inside the Popup-Content;\n- Read the commit massages for further details;<\/p>\n\n<p>0.0.8\n- Dynamic PopupOptions, MapOptions, MapDimensions;\n- Edit Appearance for Polyline inherited Features, most https:\/\/leafletjs.com\/reference-1.3.0.html#polyline-option now accessable;\n- fixed: choose icon and shadow;\n- Read the commit massages for further details;<\/p>\n\n<p>0.0.7\n- fix: geomData.api.root was still hardcoded;<\/p>\n\n<p>0.0.6\n- copmatible with gb 3.2.0 and wp 4.9.7;\n- fix: Plugin ensures function exist;\n- fix: use geomData.api enstead of wpApiSettings;\n- fix: removed Backbone.Memento from frontend;<\/p>\n\n<p>0.0.5\nEdit Popup, WysiwygControl works\nAdded Plugin assets\nUpdates grunt environment. Integrated updates from generator-pluginboilerplate 1.2.0<\/p>\n\n<p>0.0.4<\/p>\n\n<p>0.0.3\nedited readme.<\/p>\n\n<p>0.0.2\nfirst stable version.\nedited readme.\nremoved 'beautiful-dnd' and using 'react-virtualized' instead.<\/p>\n\n<p>0.0.1\nadded custom_post_type geom_feature and started block geom\/map\nblock not finished<\/p>","raw_excerpt":"Highly customizable Map Block for Gutenberg, based on Leaflet","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es-co.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/88719","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es-co.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/es-co.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/es-co.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=88719"}],"author":[{"embeddable":true,"href":"https:\/\/es-co.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jhotadhari"}],"wp:attachment":[{"href":"https:\/\/es-co.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=88719"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/es-co.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=88719"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/es-co.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=88719"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/es-co.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=88719"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/es-co.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=88719"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/es-co.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=88719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}