core: Update Hillshade Algorithms and add Color-Relief Layer support (#3965)

This commit is contained in:
Andrew Calcutt
2026-02-25 20:50:06 -05:00
committed by GitHub
parent 9682e09ae4
commit 369af13ead
187 changed files with 8804 additions and 2352 deletions

View File

@@ -51,7 +51,9 @@ type::Type parseType(v8::Local<v8::Object> type) {
{"formatted", type::Formatted},
{"number-format", type::String},
{"resolvedImage", type::Image},
{"variableAnchorOffsetCollection", type::VariableAnchorOffsetCollection}};
{"variableAnchorOffsetCollection", type::VariableAnchorOffsetCollection},
{"numberArray", type::Array(type::Number)},
{"colorArray", type::Array(type::Color)}};
v8::Local<v8::Value> v8kind = Nan::Get(type, Nan::New("kind").ToLocalChecked()).ToLocalChecked();
std::string kind(*v8::String::Utf8Value(v8::Isolate::GetCurrent(), v8kind));