Tinderbox v10 Icon

Map co-ordinates

Map co-ordinates

Tinderbox uses Cartesian X/Y co-ordinates (basic graph style) to record the position of items on maps, but with one small difference; the polarity of the Y axis is reversed. So going downwards on a Tinderbox map is positive Y and up is negative Y. Why so? Tinderbox starts a new, unused, map by putting {0,0} at the top left of the map window (whether the map is visible or not) and starts drawing items down and right from {0,0}, i.e. the map is populated from the top left corner. By flipping the traditional Y polarity, new items are normally drawn with both X and Y co-ordinates as positive values. Understanding the positive/negative alignments is pertinent if using code to move items around on a map but for general use the is no need to worry about co-ordinates.

Position on a map is controlled by (stored in) the system attributes $Xpos & $Ypos for a given note (in the Map group of system attributes). These co-ordinates have no effect on the outline view, or any other view type than map.

NextMaps, stacking and overlapping