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) Data Collection
 * 2) Choose a pixel on the top-left of the captured image. Write it down as P1.Pixel(x, y).
 * 3) Find the exact coordinate of P1 on the Minecraft map. Write it down as P1.Coord(x, z).
 * 4) Choose a pixel on the bottom-right of the captured image. Write it down as P2.Pixel(x, y).
 * 5) Find the exact coordinate of P2 on the Minecraft map. Write it down as P2.Coord(x, z).
 * 6) * Tip: Big distances between P1 and P2 helps make rounding errors less impactful
 * 7) Use the following Calibrator to find:
 * 8) * pixel width: difference between left most image x (that you wrote down) and right most image x
 * 9) * coordinate width: same but for left most coord x (corresponding to left most point), and right most coord x
 * 10) * imageScale = coordinate width / pixel width
 * 11) * topLeftCoord[1] = leftCoordX - (leftMostPixelX * imageScale)
 * 12) * topLeftCoord[2] = topCoordZ - (topMostPixelY * imageScale)
 * 13) Add configuration to this module datasheet

Related Pages

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