Geoplot URL parameters
Introduction
Use URL parameters to tell geoplot which tiles to plot, where, and to what scale.
URL parameters
These follow the url, separated from it by a "?" and from each other by a "&".
tiles
"tiles=tile1ID,tile1x,tile1y,tile1rotation;tile2ID,tile2x,tile2y,tile2rotation;..."
This consistes of "tiles=" followed by:
- the horizontal coordinate of the left of the tile (measured from the left of the screen). A core 100x100 tile is 10 units across.
- a comma.
- the vertical coordinate of the top of the tile (measured from the top of the screen).
- a comma.
- the rotation of the tile.
- "0" is unchanged.
- "1" is rotated-clockwise 90 degrees.
- "2" is rotated clockwise 180 degrees.
- "3" is rotated anti-clockwise 90 degrees.
- a semicolon to separate it from the next tile.
Example https://www.iandrea.co.uk/sf/geo/code/geoplot.html?tiles=101A,0,0,0;201A,10,0,1
One very useful tile is SYMB...this is the legend, with all the symbols explained. [https://www.iandrea.co.uk/sf/geo/code/geoplot.html?tiles=SYMB,0,0,0]
scale
"scale=value"
This is "scale=" followed by a number. The default value is "40". Use other values to scale the tiles up and down in size. "80" will double the size, "20" will halve it.
Example: https://www.iandrea.co.uk/sf/geo/code/geoplot.html?tiles=101A,0,0,0&scale=80
title
"title=string"
A title to display over the tiles. You will need to use "%20" to indicate spaces.
Example: https://www.iandrea.co.uk/sf/geo/code/geoplot.html?tiles=101A,0,0,0&title=Just%20one%20tile
grid
"grid=horizontalLow, verticalLow, horizontalHigh, verticalHigh"
This displays a square grid under the tiles. The format is:
- the horizontal coordinate of the left of the grid (measured from the left of the screen). A core 100x100 tile is 10 units across.
- a comma.
- the vertical coordinate of the top of the grid (measured from the top of the screen).
- a comma.
- the horizontal coordinate of the right of the grid.
- a comma.
- the vertical coordinate of the bottom of the grid.