{"id":19290,"date":"2012-08-29T18:39:11","date_gmt":"2012-08-29T18:39:11","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/geojson-maps\/"},"modified":"2012-08-29T18:40:20","modified_gmt":"2012-08-29T18:40:20","slug":"geojson-maps","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/geojson-maps\/","author":811446,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"0.1","tested":"3.4.2","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"GeoJSON Maps","header_author":"Chris Abraham","header_description":"","assets_banners_color":"c9b6c8","last_updated":"2012-08-29 18:40:20","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/openplans.org\/donate\/","header_plugin_uri":"http:\/\/openplans.org","header_author_uri":"http:\/\/cjyabraham.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1328,"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":"592024","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1"],"block_files":[],"assets_screenshots":{"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1539450","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1539450","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1539450","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539450","resolution":"1","location":"plugin"}},"screenshots":{"1":"Map with two data layers turned on.","2":"Hovering over the legend.","3":"The admin display of the various map layers.","4":"The details of a layer."}},"plugin_section":[],"plugin_tags":[4606,26981,2660],"plugin_category":[49],"plugin_contributors":[91687],"plugin_business_model":[],"class_list":["post-19290","plugin","type-plugin","status-closed","hentry","plugin_tags-geojson","plugin_tags-gis","plugin_tags-maps","plugin_category-maps-and-location","plugin_contributors-cabraham","plugin_committers-cabraham"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/geojson-maps_c9b6c8.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/geojson-maps\/trunk\/screenshot-1.png?rev=1539450","caption":"Map with two data layers turned on."},{"src":"https:\/\/ps.w.org\/geojson-maps\/trunk\/screenshot-2.png?rev=1539450","caption":"Hovering over the legend."},{"src":"https:\/\/ps.w.org\/geojson-maps\/trunk\/screenshot-3.png?rev=1539450","caption":"The admin display of the various map layers."},{"src":"https:\/\/ps.w.org\/geojson-maps\/trunk\/screenshot-4.png?rev=1539450","caption":"The details of a layer."}],"raw_content":"<!--section=description-->\n<p>GeoJSON Maps facilitates displaying multiple GeoJSON feeds on a map.  It has a custom legend to toggle on\/off each data layer.  The map can be displayed on a Wordpress post or page via a short code.  All you need is some <a href=\"http:\/\/geojson.org\/\">GeoJSON<\/a> feeds (both json and jsonp) and some styling markup.  See <a href=\"http:\/\/demo.planningpress.org\/map\/\">here<\/a> for a demo.<\/p>\n\n<p>GeoJSON Maps uses <a href=\"https:\/\/github.com\/openplans\/argo\">Argo<\/a>.  Its configuration is provided <a href=\"https:\/\/github.com\/openplans\/argo\/wiki\/Configuration-Guide\">here<\/a>.  Take note of the \"rules\" and \"popupContent\" items to be entered when setting up a layer.  So, in the Schools layer from the <a href=\"http:\/\/demo.planningpress.org\/map\/\">demo<\/a>, \"Layer Rules\" is set to:<\/p>\n\n<pre><code>[{\n  condition: '\"{{LOCLEVEL}}\" === \"Elementary School\"',\n  style: {color: 'green', radius: 3, opacity: 0.9, fillOpacity: 0.2}\n},\n{\n  condition: '\"{{LOCLEVEL}}\" === \"Middle Secondary\"',\n  style: {color: 'orange', radius: 3, opacity: 0.9, fillOpacity: 0.2}\n},\n{\n  condition: '\"{{LOCLEVEL}}\" === \"High School\"',\n  style: {color: 'red', radius: 3, opacity: 0.9, fillOpacity: 0.2}\n}]\n<\/code><\/pre>\n\n<p>And \"Popup Text\" is set to:<\/p>\n\n<pre><code>{{LOCNAME}}\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload GeoJSON Maps to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Adjust global map settings by going to Settings | GeoJSON Maps<\/li>\n<li>Add layers to the map using the Map Layers custom post type in the admin interface; for Style Rules, see: https:\/\/github.com\/openplans\/argo\/wiki\/Configuration-Guide<\/li>\n<li>Place shortcode [geojson-map] on page or post where you want the map to display<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.1 (8\/29\/2012)<\/h4>\n\n<ul>\n<li>initial release<\/li>\n<\/ul>","raw_excerpt":"Allows people to display GeoJSON feeds on a map.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/19290","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=19290"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cabraham"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=19290"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=19290"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=19290"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=19290"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=19290"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=19290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}