targetGrid | R Documentation |
Function to calculate a stars grid based on the x,y,z attributes that represents the coordinates of the map tile
targetGrid(x, y, z, tileSize = 256L)
x |
The location of the tile in the x dimension |
y |
The location of the tile in the y dimension |
z |
The zoom level |
tileSize |
The size of the tile generally 256 pixels |
This function is mostly useful for testing purpose.
A stars grid with all values being zero with the dimensions matching those required for the tile specified
targetGrid(4, 2, 4) targetGrid(4, 2, 4, 128)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.