Plugin Directory

Changeset 495857


Ignore:
Timestamp:
01/26/2012 11:10:16 PM (14 years ago)
Author:
jonlynch
Message:

readme updated again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • os-openspace-maps/trunk/Readme.txt

    r495845 r495857  
    1 === OS Openspace Maps ===
     1=== OS OpenSpace Maps ===
    22Contributors: jonlynch
    3 Tags: maps, Ordinance Survey, OpenSpace
     3Tags: maps, Ordnance Survey, OpenSpace
    44Requires at least: 3.0
    55Tested up to: 3.3.1
    66Stable tag: 1.1.0
    77
    8 A plugin to display UK Ordinance Survey maps with markers and tracks.
     8A plugin to display UK Ordnance Survey maps with markers and tracks.
    99
    1010== Description ==
    11 A plugin to display UK Ordinance Survey [OpenSpace](http://openspace.ordnancesurvey.co.uk/openspace/) maps with markers and tracks.
     11A plugin to display UK Ordnance Survey [OpenSpace](http://openspace.ordnancesurvey.co.uk/openspace/) maps with markers and tracks.
    1212
    1313This plugin works using the `[osmap]` shortcode anywhere in your post content.
    1414
    15 Currently the plugin only displays one marker from an OS grid reference or a gpx file or a kml
    16 file. The gpx takes prority, then kml, then marker. I intend to allow multiple markers in due course
     15Currently the plugin displays one marker from an OS grid reference or a gpx file or a kml
     16file. Multiple markers will be possible in an upgrade very soon.
    1717
    18 the following parameters can be passed:
     18The following parameters can be passed:
    1919
    2020* `height="xxx"` sets the height of the map div
     
    2727* `label="text here"` sets the text for a popup for a marker
    2828
     29To 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
    2931= 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.
    3133
    3234* `[osmap grid="NY2000008000" label="Wasdale"]`shows a default size and zoom window with a marker placed and the popup text "Wasdale"
     
    5658
    5759= Coming a little later: =
    58 * Multiple files
     60* Multiple kml and gpx files
    5961* A Shortcode Generator
    6062
Note: See TracChangeset for help on using the changeset viewer.