Changeset 495857
- Timestamp:
- 01/26/2012 11:10:16 PM (14 years ago)
- File:
-
- 1 edited
-
os-openspace-maps/trunk/Readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
os-openspace-maps/trunk/Readme.txt
r495845 r495857 1 === OS Open space Maps ===1 === OS OpenSpace Maps === 2 2 Contributors: jonlynch 3 Tags: maps, Ord inance Survey, OpenSpace3 Tags: maps, Ordnance Survey, OpenSpace 4 4 Requires at least: 3.0 5 5 Tested up to: 3.3.1 6 6 Stable tag: 1.1.0 7 7 8 A plugin to display UK Ord inance Survey maps with markers and tracks.8 A plugin to display UK Ordnance Survey maps with markers and tracks. 9 9 10 10 == Description == 11 A plugin to display UK Ord inance Survey [OpenSpace](http://openspace.ordnancesurvey.co.uk/openspace/) maps with markers and tracks.11 A plugin to display UK Ordnance Survey [OpenSpace](http://openspace.ordnancesurvey.co.uk/openspace/) maps with markers and tracks. 12 12 13 13 This plugin works using the `[osmap]` shortcode anywhere in your post content. 14 14 15 Currently the plugin onlydisplays one marker from an OS grid reference or a gpx file or a kml16 file. The gpx takes prority, then kml, then marker. I intend to allow multiple markers in due course15 Currently the plugin displays one marker from an OS grid reference or a gpx file or a kml 16 file. Multiple markers will be possible in an upgrade very soon. 17 17 18 the following parameters can be passed:18 The following parameters can be passed: 19 19 20 20 * `height="xxx"` sets the height of the map div … … 27 27 * `label="text here"` sets the text for a popup for a marker 28 28 29 To upload a kml or gpx file just use the WordPress media uploader and then copy the address of the uploaded file into the shortcode. 30 29 31 = Examples = 30 * `[osmap height="300" width="300" color="yellow" gpx="http://www. jonlynch.co.uk/myfile.gpx"]` displays a 300px by 300px window containing a yellow track from the file specified.32 * `[osmap height="300" width="300" color="yellow" gpx="http://www.example.co.uk/myfile.gpx"]` displays a 300px by 300px window containing a yellow track from the file specified. 31 33 32 34 * `[osmap grid="NY2000008000" label="Wasdale"]`shows a default size and zoom window with a marker placed and the popup text "Wasdale" … … 56 58 57 59 = Coming a little later: = 58 * Multiple files60 * Multiple kml and gpx files 59 61 * A Shortcode Generator 60 62
Note: See TracChangeset
for help on using the changeset viewer.