Module:Minimap/Datasheet/doc

This page is used for configuring minimaps.

Standard capturing of top-view images with Mineshot Data is highly recommended.

Calibration
Reuploaded minimaps with changed dimensions or coordinate offsets must be re-calibrated.

Method:
 * 1) Find a coordinate on top left of the map, and find the exact x/y position of it on the image. Write both down.
 * 2) Do the same for bottom right (big distances help make rounding errors less impactful)
 * 3) Use the following Calibrator to find:
 * 4) * pixel width: difference between left most image x (that you wrote down) and right most image x
 * 5) * coordinate width: same but for left most coord x (corresponding to left most point), and right most coord x
 * 6) * imageScale = coordinate width / pixel width
 * 7) * topLeftCoord[1] = leftCoordX - (leftMostPixelX * imageScale)
 * 8) * topLeftCoord[2] = topCoordZ - (topMostPixelY * imageScale)
 * 9) Add configuration to this module datasheet

Related Pages

 * Minimap
 * MediaWiki:Custom-common.less/minimap.less