
- move elevation calculation to serve_rendered and stub in serve_light due to use of canvas and sharp - elevation api is not available for light
10 lines
410 B
JavaScript
10 lines
410 B
JavaScript
/* eslint-disable @typescript-eslint/no-empty-function */
|
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
'use strict';
|
|
|
|
export const serve_rendered = {
|
|
init: (options, repo, programOpts) => {},
|
|
add: (options, repo, params, id, programOpts, dataResolver) => {},
|
|
remove: (repo, id) => {},
|
|
getTerrainElevation: (data, param) => { param["elevation"] = "not supported in light"; return param; },
|
|
};
|