pixelRelativeToTile method
Calculates the absolute pixel position for a tile and tile size relative to origin
@param latLong the geographic position. @param tile tile @return the relative pixel position to the origin values (e.g. for a tile)
Implementation
MappointRelative pixelRelativeToTile(ILatLong latLong, Tile tile) {
Mappoint mappoint = latLonToPixel(latLong);
Mappoint tilePoint = getLeftUpper(tile);
return mappoint.offset(tilePoint);
}