WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Geoportail Shortcode

Last updated: 17/09/2013 This plugin allows you to add one map (via the Geoportail API) to your page/post using shortcode.

How can use the geolocalisation function?

Using the geolocate parameter :

Ex: [geoportail geolocate="true" /]

How can use the geotagging function?

Using the geotag parameter :

Ex: [geoportail geotag="true" /]

How can i set my API key?

Using the 'WP Geoportail Shortcode' menu, through 'Settings' menu.

How do I add a map to my post?

Using shortcode in the edit box for your post.

Ex: [geoportail /]

Can I add multiple maps to the same post?

Yes, you can do it using different "id" for each map.

Ex: [geoportail id="1" /] [geoportail id="2" /]

Can I change the size of the map?

Yes, you can do it using your own width and height parameters.

Ex: [geoportail w="400" h="300"]

Can you add multiple KML files?

Yes, you can do it using the "kmlArray" parameter.

Ex: [geoportail kml_array="url1,title1;url2,title2;..."]

Can you add multiple GPX files?

Yes, you can do it using the "gpxArray" parameter.

Ex: [geoportail gpx_array="url1,title1;url2,title2;..."]

Can you change the map viewer type?

Yes, you can do it using the "type" parameter. It can be "mini" for a mini viewer without tools panel or "normal".

Ex: [geoportail type="mini" /]

Can you choose your Layers?

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.

Ex: [geoportail layers_array="ortho, map" /]

Can you change the territory ?

Yes, you can do it using the "territory" parameter. Default parameter is "FXX" : France. It can be one of :

FXX France métropolitaine GLP Guadeloupe GUF Guyane MTQ Martinique MYT Mayotte NCL Nouvelle Calédonie PYF Polynésie Française REU Réunion SPM Saint Pierre et Miquelon WLF Wallis et Futuna ANF Antilles Française (GLP, MTQ, SMA, SBA) CRZ Crozet EUE Union Européenne KER Kerguelen SBA Saint-Barthélémy SMA Saint-Martin WLD La Terre

Ex: [geoportail territory="GLP" /]

Requires: 2.8 or higher
Compatible up to: 3.4.2
Last Updated: 2013-9-18
Downloads: 2,101

Ratings

4 stars
4.3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 0,1,0
100,1,1