{"id":4390,"date":"2009-01-05T18:13:08","date_gmt":"2009-01-05T18:13:08","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/nice-map\/"},"modified":"2009-02-09T04:02:46","modified_gmt":"2009-02-09T04:02:46","slug":"nice-map","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/nice-map\/","author":1527616,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"trunk","tested":"2.7","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"Nicemap","header_author":"Tom MacWright","header_description":"","assets_banners_color":"","last_updated":"2009-02-09 04:02:46","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/www.developmentseed.org\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1630,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1444093","resolution":"2","location":"plugin","width":437,"height":550},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1444093","resolution":"1","location":"plugin","width":532,"height":532}},"screenshots":{"1":"Here's the admin interface as it looks with the NASA map server set up.","2":"Here's a post with it's geo-information displayed in both <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-geo\/\">WP-Geo<\/a> and Nice Map."}},"plugin_section":[],"plugin_tags":[2591,19273,26981,2909,2660,33045,25220],"plugin_category":[49],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-4390","plugin","type-plugin","status-closed","hentry","plugin_tags-geo","plugin_tags-geo-mashup","plugin_tags-gis","plugin_tags-map","plugin_tags-maps","plugin_tags-wms","plugin_tags-wp-geo","plugin_category-maps-and-location","plugin_committers-tmcw"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/nice-map.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/nice-map\/trunk\/screenshot-1.png?rev=1444093","caption":"Here's the admin interface as it looks with the NASA map server set up."},{"src":"https:\/\/ps.w.org\/nice-map\/trunk\/screenshot-2.png?rev=1444093","caption":"Here's a post with it's geo-information displayed in both <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-geo\/\">WP-Geo<\/a> and Nice Map."}],"raw_content":"<!--section=description-->\n<p>Attention: <em><a href=\"http:\/\/www.developmentseed.org\/blog\/2009\/jan\/09\/just-released-nice-map-module-wordpress\">check out the launch blog post and screencast at developmentseed.org<\/a><\/em><\/p>\n <p>This is a Wordpress port of the <a href=\"http:\/\/drupal.org\/project\/nicemap\">Drupal Nice Map<\/a>\nmodule, which also provides an interface for an administrator to set up a WMS server \nwith various layers and projections.<\/p>\n <p>Please Read:<\/p>\n <p>Currently this module doesn't provide a method for actually inputting geo-information to your blog posts. Instead, it allows you to \npull information that has already been saved by [WP-Geo]((http:\/\/wordpress.org\/extend\/plugins\/wp-geo\/) or <a href=\"http:\/\/code.google.com\/p\/wordpress-geo-mashup\/\">geo-mashup<\/a>. The ability to input information may be added soon, but as it currently stands, either of the aforementioned plugins provide a nice way to select locations, while this plugin gives you ultimate flexibility to use different map data from different sources.<\/p>\n <p>Currently, like the Drupal module, this mainly provides support for the EPSG:4326 \n(Equirectangular) and EPSG:900913 (Google Mercator) projections. A good server to \nstart off with is NASA's free WMS server, which you can use by setting the \n<em>Map Server URL<\/em> to http:\/\/onearth.jpl.nasa.gov\/wms.cgi.<\/p>\n <p>You can use this plugin by adding code like this to your templates:<\/p>\n <pre><code>&lt;?php nicemap_map(array('width' =&gt; 410, 'height' =&gt; 400)) ?&gt; <\/code><\/pre>\n <p>And setting the display options in the administration interface. Currently this template tag will display maps based on all the posts it can find: if it's on an archive page, it'll show all of the posts on that page of the archive on one map. If this is in a single post template, it will show that one post on a map.<\/p>\n <p>Options for nicemap_map:<\/p>\n <ul>\n<li>width: in px<\/li>\n<li>height: in px<\/li>\n<\/ul>\n <p>The plugin also now provides a shortcode for use in posts: The format is:<\/p>\n <pre><code>[nicemap lat=\"40.86\" lon=\"-74.68\" height=\"500\" width=\"500\" title=\"Hello, world\"] <\/code><\/pre>\n <p>height &amp; width are not required.<\/p>\n <p><em>This plugin is sponsored by <a href=\"http:\/\/www.developmentseed.org\/\">Development Seed<\/a>, makers of some great <a href=\"http:\/\/www.developmentseed.org\/solutions\/geodata-mapping\">mapping solutions<\/a>.<\/em><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Check out the <a href=\"http:\/\/www.developmentseed.org\/blog\/2009\/jan\/09\/just-released-nice-map-module-wordpress\">intro blog post &amp; screencast for a visual installation &amp; usage guide.<\/a><\/li>\n<li>First note that you'll need either geo-mashup or WP Geo installed in order for Nice Map to be of any use: it depends on existing geotagged data.<\/li>\n<li>Upload the folder <code>nicemap<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory or by installing it via Wordpress's automatic installation method.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Edit the plugin settings and choose at least one WMS layer and one compatibility driver (WP-Geo or geo-mashup, currently) is selected, so that a map is displayed on posts. You should also edit the positioning of maps on posts if you want them automatically added.<\/li>\n<\/ol>","raw_excerpt":"Nice Map is a WMS client for Wordpress. It offers compatibility with geo-mashup and a clean interface for displaying maps.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4390","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=4390"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tmcw"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4390"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4390"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4390"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4390"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4390"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}