/datum/minimap/z_level

Vars | |
border_width | The width in pixels between the edge of the station and the edge of the map. |
---|---|
max_zoom | The maximum value which the zoom coefficient should be permitted to zoom to. |
min_zoom | The minimum value which the zoom coefficient should be permitted to zoom to. |
Procs | |
centre_on_point | Zooms the minimap by the zoom coefficient while moving the minimap so that the specified point lies at the centre of the displayed minimap. The alpha mask takes care of any map area scaled outside of the map boundaries. |
find_focal_point | Locate the focal point of the map by using the furthest valid turf in each direction. |
scale_map | Scale the map, while retaining the original (x, y) position of the bottom left corner. |
zoom_on_point | Zooms the minimap by the zoom coefficient while moving the minimap so that the specified point lies at the same position on the displayed minimap as it did prior to the zoom. The alpha mask takes care of any map area scaled outside of the map boundaries. |
Var Details
border_width

The width in pixels between the edge of the station and the edge of the map.
max_zoom

The maximum value which the zoom coefficient should be permitted to zoom to.
min_zoom

The minimum value which the zoom coefficient should be permitted to zoom to.
Proc Details
centre_on_point
Zooms the minimap by the zoom coefficient while moving the minimap so that the specified point lies at the centre of the displayed minimap. The alpha mask takes care of any map area scaled outside of the map boundaries.
find_focal_point
Locate the focal point of the map by using the furthest valid turf in each direction.
scale_map
Scale the map, while retaining the original (x, y) position of the bottom left corner.
zoom_on_point
Zooms the minimap by the zoom coefficient while moving the minimap so that the specified point lies at the same position on the displayed minimap as it did prior to the zoom. The alpha mask takes care of any map area scaled outside of the map boundaries.