Module:Location map/data/Osarius/doc
This is the documentation page for Module:Location map/data/Osarius
Location map notes
Standard usage for location maps is to set the boundaries in such a way that any location can be replicated on the location map using pixel co-ordinates.
For example, a 2048x2048 image could have boundaries of 0, 204.8, 0, 204.8. This allows a point at pixel co-ordinates (1567,1056) to be plotted precisely with ease as (156.7,105.6)
Googledocs calculator
Alternatively, use this tool to calculate everything, assuming you have the dimensions of your map image, and the pixel co-ordinates of each location to plot.
Degree/Minute conversion notes
You can also use Deg2Min to get just the minute value isolated from the full decimal input, like so:
{{Deg2Min|156.9}}
returns 27 which you can then plug directly into the template in the minutes parameter.