Description Usage Arguments Examples
This function finds the place where a smaller range of (x,y) should begin in order to be centered in a larger (x,y) space.
1 | findPlotStart(newmapx, newmapy, plotx, ploty)
|
newmapx |
The range of x in your larger, new map. |
newmapy |
The range of y in your larger, new map. |
plotx |
The range of x in your smaller map. |
ploty |
The range of y in your smaller map. |
1 | findPlotStart(300, 300, 100, 150)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.