...
Class | Value | Notes |
---|---|---|
ishare-user | Current user and domain | Formatted as: user@domain |
ishare-timestamp | Current time | ISO datetime format: e.g. 2018-03-23 14:37:39 |
ishare-projection | The in-use map projection code | E.g.: EPSG:27700 |
ishare-attribution | Copyright taken from the base MapSource | |
ishare-scale | Current map scale | |
ishare-centre | Central co-ordinates of the current view of the map | Format for Units are rounded to a number of decimal places dependent on the projection units: 5 for degrees; 3 for miles and kilometres; and 0 for everything else. |
ishare-bbox | Corner co-ordinates of the current view of the map | Format for See |
Example
In the above screenshot we have added Projection and Base Map Copyright to the basic A4 Template. To add any to your map just extract the details from the following examples:
Code Block | ||
---|---|---|
| ||
<div id="info"> <span id="title" class="ishare-edit-inline">##title.Enter map title##</span> <p id="scale"><img src="images/NorthArrow.png" id="north" />Scale: <span class="ishare-scale">##scale.0##</span></p> <p class="printinfo">Printed on: <span class="ishare-timestamp">##timestamp.1970-01-01##</span> by <span class="ishare-user">##user.user@domain##</span></p> <p class="printinfo">Projection: <span class="ishare-projection">##projection.Probably BNG##</span></p> <p class="printinfo">Attribution: <span class="ishare-attribution">##attribution.Probably OS##</span></p> <p class="printinfo">Centre: <span class="ishare-centre">##centre.0, 0##</span></p> <p class="printinfo">Centre X: <span class="ishare-centre-x">##centreX.0##</span></p> <p class="printinfo">Centre Y: <span class="ishare-centre-y">##centreY.0##</span></p> <p class="printinfo">Bounding box: <span class="ishare-bbox">##bbox.0 0 0 0##</span></p> <p class="printinfo">Minimum X: <span class="ishare-min-x">##minX.0##</span></p> <p class="printinfo">Minimum Y: <span class="ishare-min-y">##minY.0##</span></p> <p class="printinfo">Maximum X: <span class="ishare-max-x">##maxX.0##</span></p> <p class="printinfo">Maximum Y: <span class="ishare-max-y">##maxY.0##</span></p> </div><!-- info --> |
...