{"size": 536, "ext": "js", "max_stars_repo_path": "Specs/createTileKey.js", "max_stars_repo_name": "richard-kai/cesium", "max_stars_repo_stars_event_min_datetime": "2019-06-17T16:59:41.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-31T07:51:41.000Z", "max_issues_repo_path": "Specs/createTileKey.js", "max_issues_repo_name": "richard-kai/cesium", "max_issues_repo_issues_event_min_datetime": "2015-10-27T15:51:25.000Z", "max_issues_repo_issues_event_max_datetime": "2018-07-31T13:25:07.000Z", "max_forks_repo_path": "Specs/createTileKey.js", "max_forks_repo_name": "richard-kai/cesium", "max_forks_repo_forks_event_min_datetime": "2019-06-25T07:37:36.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-20T12:44:22.000Z"}
{"max_stars_count": 352, "max_issues_count": 37, "max_forks_count": 163, "avg_line_length": 21.44, "max_line_length": 60, "alphanum_fraction": 0.5037313433}
define([
    'Core/defined',
    'Core/DeveloperError'
], function(
    defined,
    DeveloperError) {
   'use strict';

    function createTileKey(xOrTile, y, level) {
        if (!defined(xOrTile)) {
            throw new DeveloperError('xOrTile is required');
        }

        if (typeof xOrTile === 'object') {
            var tile = xOrTile;
            xOrTile = tile.x;
            y = tile.y;
            level = tile.level;
        }
        return 'L' + level + 'X' + xOrTile + 'Y' + y;
    }

    return createTileKey;
});
