{"id":15979,"date":"2011-12-10T16:50:52","date_gmt":"2011-12-10T16:50:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/geoportail-shortcode\/"},"modified":"2013-09-18T14:29:25","modified_gmt":"2013-09-18T14:29:25","slug":"geoportail-shortcode","status":"closed","type":"plugin","link":"https:\/\/lt.wordpress.org\/plugins\/geoportail-shortcode\/","author":8661445,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.4.4","stable_tag":"2.4.4","tested":"3.4.2","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"Geoportail-Shortcode-beta","header_author":"","header_description":"","assets_banners_color":"","last_updated":"2013-09-18 14:29:25","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":2.5,"author_block_rating":0,"active_installs":10,"downloads":4501,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"2.4.2":"<ul>\n<li>change apiVersion to &quot;latest&quot; in the WP Geoportail ShortCode menu.<\/li>\n<li>Active\/deactive plugin if you have troubles after upgrade<\/li>\n<\/ul>","1.9":"<ul>\n<li>Active\/deactive plugin if you have troubles after upgrade<\/li>\n<\/ul>","1.8":"<ul>\n<li>Be careful :<\/li>\n<li>map_visibility, ortho_visibility, map_opacity, ortho_opacity are removed, please use layers_array<\/li>\n<li>kml and kmlTitle are removed, please use kml_array<\/li>\n<li>gpx and gpxTitle are removed, please use gpx_array<\/li>\n<\/ul>","1.7":"<ul>\n<li><p>Be careful : some balise change :\nmapVisibilty =&gt; map_visibility\northoVisibilty =&gt; ortho_visibility\nmapOpacity =&gt; map_opacity\northoOpacity =&gt; ortho_opacity<\/p><\/li>\n<li><p>Active\/deactive plugin if you have troubles after upgrade<\/p><\/li>\n<\/ul>","1.5.2":"<ul>\n<li>Active\/deactive plugin if you have troubles after upgrade<\/li>\n<\/ul>","1.0":"<ul>\n<li>First release<\/li>\n<\/ul>"},"ratings":{"1":"1","2":0,"3":0,"4":"1","5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.5","1.5.1","1.5.2","1.6","1.7","1.8","1.8.1","1.9","1.9.1","1.9.2","1.9.3","2.0","2.0.2","2.01","2.03","2.04","2.1","2.2","2.3","2.4","2.4.1","2.4.2","2.4.3","2.4.4"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1539275","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539275","resolution":"1","location":"plugin"}},"screenshots":{"1":"The map in an article","2":"Settings Screen"}},"plugin_section":[],"plugin_tags":[32078,7542,9085,32077,32079],"plugin_category":[43,49],"plugin_contributors":[93479],"plugin_business_model":[],"class_list":["post-15979","plugin","type-plugin","status-closed","hentry","plugin_tags-api-geoportail","plugin_tags-carte","plugin_tags-france","plugin_tags-geoportail","plugin_tags-ign","plugin_category-customization","plugin_category-maps-and-location","plugin_contributors-geowp","plugin_committers-geowp"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/geoportail-shortcode.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/geoportail-shortcode\/trunk\/screenshot-1.png?rev=1539275","caption":"The map in an article"},{"src":"https:\/\/ps.w.org\/geoportail-shortcode\/trunk\/screenshot-2.png?rev=1539275","caption":"Settings Screen"}],"raw_content":"<!--section=description-->\n<p>Une documentation en fran\u00e7ais est disponible \u00e0  l'adresse suivante : http:\/\/geo.wp.cephee.fr\/geoportail-shorcode\/<\/p>\n\n<p>This plugin allows you to add a Geoportail map into your post\/page using shortcode. \nTo use it, you need a free key from : http:\/\/pro.ign.fr\/api-web\nAltitude and speed graph of gpx file is available since v2.0.<\/p>\n\n<p>Any question, idea or comment ? Please contact me at : geoportailWP(at)gmail(dot)com<\/p>\n\n<p>Features:<\/p>\n\n<ul>\n<li>default french map<\/li>\n<li>set map size<\/li>\n<li>set zoom level<\/li>\n<li>set location by latitude\/longitude<\/li>\n<li>add KML or GPX file via URL link<\/li>\n<li>change type : normal \/ mini<\/li>\n<li>change territory : France, Guadeloupe, Guyane, ... (cf https:\/\/api.ign.fr\/geoportail\/api\/doc\/fr\/webmaster\/integration.html)<\/li>\n<li>choose Layers : map, ortho (and all other layers available in the geoportail https:\/\/api.ign.fr\/geoportail\/api\/doc\/fr\/webmaster\/layers.html )<\/li>\n<li>change Layers settings : visibility \/ opacity<\/li>\n<li>use geolocalisation : show where I'm !<\/li>\n<li>use geotagging : show where the post have been written.\nthis functionnality need the geolocation plugin : http:\/\/wordpress.org\/extend\/plugins\/geolocation<\/li>\n<li>easy create your own shortcode using Shortcode Builder<\/li>\n<li>display altitude graph of gpx files<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<p>e.g.<\/p>\n\n<ol>\n<li>Upload <code>geoportail-shortcode<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Go to http:\/\/api.ign.fr\/geoportail to have your free api key. <\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Set your api key in the 'WP Geoportail Shortcode' menu, through 'Settings' menu.<\/li>\n<li>Add shortcode in your posts (ex: [geoportail w=\"400\" h=\"300\"\/])<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How can use the geolocalisation function?<\/dt>\n<dd><p>Using the geolocate parameter :<\/p>\n\n<p>Ex: [geoportail  geolocate=\"true\" \/]<\/p><\/dd>\n<dt>How can use the geotagging function?<\/dt>\n<dd><p>Using the geotag parameter :<\/p>\n\n<p>Ex: [geoportail  geotag=\"true\" \/]<\/p><\/dd>\n<dt>How can i set my API key?<\/dt>\n<dd><p>Using the 'WP Geoportail Shortcode' menu, through 'Settings' menu.<\/p><\/dd>\n<dt>How do I add a map to my post?<\/dt>\n<dd><p>Using shortcode in the edit box for your post.<\/p>\n\n<p>Ex: [geoportail \/]<\/p><\/dd>\n<dt>Can I add multiple maps to the same post?<\/dt>\n<dd><p>Yes, you can do it using different \"id\" for each map.<\/p>\n\n<p>Ex: \n[geoportail id=\"1\" \/]\n[geoportail id=\"2\" \/]<\/p><\/dd>\n<dt>Can I change the size of the map?<\/dt>\n<dd><p>Yes, you can do it using your own width and height parameters.<\/p>\n\n<p>Ex:\n[geoportail w=\"400\" h=\"300\"]<\/p><\/dd>\n<dt>Can you add multiple KML files?<\/dt>\n<dd><p>Yes, you can do it using the \"kmlArray\" parameter.<\/p>\n\n<p>Ex:\n[geoportail kml_array=\"url1,title1;url2,title2;...\"]<\/p><\/dd>\n<dt>Can you add multiple GPX files?<\/dt>\n<dd><p>Yes, you can do it using the \"gpxArray\" parameter.<\/p>\n\n<p>Ex:\n[geoportail gpx_array=\"url1,title1;url2,title2;...\"]<\/p><\/dd>\n<dt>Can you change the map viewer type?<\/dt>\n<dd><p>Yes, you can do it using the \"type\" parameter. It can be \"mini\" for a mini viewer without tools panel or \"normal\".<\/p>\n\n<p>Ex:\n[geoportail type=\"mini\" \/]<\/p><\/dd>\n<dt>Can you choose your Layers?<\/dt>\n<dd><p>Yes, you can do it using the \"layers\" parameter. It can be \"ortho\" if you want only the ortho-image (aerial image) layer, \"map\" if you want only the map layer or \"ortho, map\" if you want both of them.<\/p>\n\n<p>Ex:\n[geoportail layers_array=\"ortho, map\" \/]<\/p><\/dd>\n<dt>Can you change the territory ?<\/dt>\n<dd><p>Yes, you can do it using the \"territory\" parameter. Default parameter is \"FXX\" : France.\nIt can be one of :<\/p>\n\n<p>FXX     France m\u00c3\u00a9tropolitaine\nGLP     Guadeloupe\nGUF     Guyane\nMTQ     Martinique\nMYT     Mayotte\nNCL     Nouvelle Cal\u00c3\u00a9donie\nPYF     Polyn\u00c3\u00a9sie Fran\u00c3\u00a7aise\nREU     R\u00c3\u00a9union\nSPM     Saint Pierre et Miquelon\nWLF     Wallis et Futuna\nANF     Antilles Fran\u00c3\u00a7aise (GLP, MTQ, SMA, SBA)\nCRZ     Crozet\nEUE     Union Europ\u00c3\u00a9enne\nKER     Kerguelen\nSBA     Saint-Barth\u00c3\u00a9l\u00c3\u00a9my\nSMA     Saint-Martin\nWLD     La Terre<\/p>\n\n<p>Ex:\n[geoportail territory=\"GLP\" \/]<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.4.4<\/h4>\n\n<ul>\n<li>Fix incompatibility with wp-gpx-map<\/li>\n<\/ul>\n\n<h4>2.4.3<\/h4>\n\n<ul>\n<li>Form-Builder is now working.\nPlease remove your old maps in the shortcode option menu.<\/li>\n<\/ul>\n\n<h4>2.4.2<\/h4>\n\n<ul>\n<li>Fix api loading issu<\/li>\n<li>Include geoportail css<\/li>\n<li>Known issues : Form-Builder : works randomly, please don't use it for now.<\/li>\n<\/ul>\n\n<h4>2.4.1<\/h4>\n\n<ul>\n<li>Try to fix apiVersion bug<\/li>\n<\/ul>\n\n<h4>2.4<\/h4>\n\n<ul>\n<li>No more compatible with api version &lt; v2.0beta, (please ask a new api key at http:\/\/pro.ign.fr\/api-web)<\/li>\n<li>Shorcode builder improvement:\n\n<ul>\n<li>maps parameter are now save in a database,<\/li>\n<li>allows preview of gpx file.<\/li>\n<\/ul><\/li>\n<li>Speed Graph of gpx file is now available.<\/li>\n<\/ul>\n\n<h4>2.3<\/h4>\n\n<ul>\n<li>Compatibility with new version of geoportal api (v2.0beta)<\/li>\n<li>and still compatible with older version<\/li>\n<\/ul>\n\n<h4>2.2<\/h4>\n\n<ul>\n<li>add map preview in shortcode builder<\/li>\n<li>few improvement in interaction between altitude chart and map<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>add interaction between altitude chart and map<\/li>\n<li>few code improvement<\/li>\n<\/ul>\n\n<h4>2.04<\/h4>\n\n<ul>\n<li>fix centering map issue<\/li>\n<li>add marker for gpx waypoints<\/li>\n<\/ul>\n\n<h4>2.03<\/h4>\n\n<ul>\n<li>fix zoom issue<\/li>\n<\/ul>\n\n<h4>2.02<\/h4>\n\n<ul>\n<li>fix multiple maps on the same page<\/li>\n<li>fix problem with upload file<\/li>\n<\/ul>\n\n<h4>2.01<\/h4>\n\n<ul>\n<li>fix some bug<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Introduce altitude graph<\/li>\n<\/ul>\n\n<h4>1.9.3<\/h4>\n\n<ul>\n<li>fix some bug<\/li>\n<\/ul>\n\n<h4>1.9.2<\/h4>\n\n<ul>\n<li>Change gpx color display to increase visibility<\/li>\n<li>Allow to display\/hide shortcode builder<\/li>\n<\/ul>\n\n<h4>1.9<\/h4>\n\n<ul>\n<li>Introduce Shortcode Builder\nIt allow you to easy create shortcode.<\/li>\n<\/ul>\n\n<h4>1.8.1<\/h4>\n\n<ul>\n<li>Fix zoom bug !<\/li>\n<\/ul>\n\n<h4>1.8<\/h4>\n\n<ul>\n<li>Many changes in the menu page<\/li>\n<li>Allows configuration of all layers of the geoportail (using layers_array)<\/li>\n<li>be careful some balise change (cf Upgrade notice)<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Geotaging : use geotag=\"true\"<\/li>\n<li>Geolocalisation : use geolocate=\"true\"<\/li>\n<li>Multi KML\/GPX file : use kml_array\/gpx_array<\/li>\n<li>be careful some balise change (cf Upgrade notice)<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>few improvements in Settings Screen<\/li>\n<li>ready to support the new geoportal api v1.3 (cf https:\/\/api.ign.fr\/geoportail\/document.do?doc=geoportail2012 )<\/li>\n<\/ul>\n\n<h4>1.5.2<\/h4>\n\n<ul>\n<li>few improvements<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>choose Layers : map, ortho<\/li>\n<li>change Layers settings : visibility \/ opacity for map &amp; ortho<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Add option menu<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Add change territory support<\/li>\n<li>Add change viewer type support<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Add GPX support<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"This plugin allows you to add one map (via the Geoportail API) to your page\/post using shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/15979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lt.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lt.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=15979"}],"author":[{"embeddable":true,"href":"https:\/\/lt.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/geowp"}],"wp:attachment":[{"href":"https:\/\/lt.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=15979"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=15979"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=15979"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=15979"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=15979"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=15979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}