targetGrid {starsTileServer}R Documentation

Function to calculate a stars grid based on the x,y,z attributes that represents the coordinates of the map tile

Description

Function to calculate a stars grid based on the x,y,z attributes that represents the coordinates of the map tile

Usage

targetGrid(x, y, z, tileSize = 256L)

Arguments

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

Details

This function is mostly useful for testing purpose.

Value

A stars grid with all values being zero with the dimensions matching those required for the tile specified

Examples

targetGrid(4, 2, 4)
targetGrid(4, 2, 4, 128)

[Package starsTileServer version 0.1.1 Index]