Template:Map/Point

Template for calculating the values for a linear point from 1.0 to 100.0, using a map coordinate point and current map extent settings. This template will set template variables 'pointLeft' and 'pointTop' suitable for use with CSS 'left' and 'top' position attributes. This template is not normally used directly from regular wiki user templates. See Template:.


 * Usage
 * 1 or x - x map coordinate
 * 2 or y - y map coordinate


 * Returns nothing. Sets variables extension vars 'pointLeft' and 'pointTop' with the corresponding results. This template assumes that the extents variables have been set-up correctly, or have been set to defaults already.

Set current extents as left top to 0,0 and right bottom to 100,100
 * Examples