WordPress Announcements News and Information
WordPress Announcements News and Information

OS Openspace Maps plugin for WordPress

OS Openspace Maps is a WordPress plugin by onlynch that displays UK Ordinance Survey OpenSpace maps with markers and tracks.

This plugin works using the [osmap] shortcode anywhere in your post content. Currently the plugin only displays one marker from an OS grid reference or a gpx file or a kml file.

The following parameters can be passed:

height=”xxx” sets the height of the map div
width=”xxx” sets the width of the map div
color=”red” or color=”#ff0000″ sets the colour of the lines note the US spelling
gpx=”http://www.example.com/myfile.gpx” specifies a gpx file to be displayed
kml=”http://www.example.com/myfile.kml” specifies a kml file to be displayed
grid=”ab1234512345″ places a marker at ab1234512345 (only if there is no gpx file specified) this can be a 6, 8 or 10 figure grid reference but must include the two letters.
zoom=”x” sets the zoom level (unless a gpx file is displayed when the map auto zooms) try starting at 7 and have a play adjusting it to suit
label=”text here” sets the text for a popup for a marker

Download and info: http://wordpress.org/extend/plugins/os-openspace-maps/

Leave a comment

Your email address will not be published. Required fields are marked *