2024-06-14 12:05:02 -05:00
|
|
|
import vector2d from './helpers/vector-2d';
|
|
|
|
|
2024-06-12 13:19:16 -05:00
|
|
|
export default {
|
|
|
|
layers: {
|
|
|
|
type: 'array',
|
|
|
|
subtype: {
|
|
|
|
type: 'object',
|
|
|
|
properties: {
|
2024-06-14 12:05:02 -05:00
|
|
|
area: vector2d('float32'),
|
2024-06-12 13:19:16 -05:00
|
|
|
data: {
|
|
|
|
type: 'array',
|
|
|
|
subtype: {
|
|
|
|
type: 'uint16',
|
|
|
|
},
|
|
|
|
},
|
2024-06-14 12:05:02 -05:00
|
|
|
source: {type: 'string'},
|
|
|
|
tileSize: vector2d('float32'),
|
2024-06-12 13:19:16 -05:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|