f
Size: a a a
f
A
const deckLayer = new ScatterplotLayer({ ...data });
потом оборачиваем его в слой мапбокса new MapboxLayer({ id: 'deck-gl-layer', deck: deckLayer });
2. Второй (как у урбики)MapboxLayerс передачей фабрики deckGl
new MapboxLayer({ type: ScatterplotLayer, ...data }
Первый приводит к z-fighting (спасибо @free012 за удачный термин)AB
A
GG
NM
f
NM
AB
f
NM
DP
DP
IA
Unable to add layer: value must be a number
A
IA
optional<float> Converter<float>::operator()(const Convertible& value, Error& error) const {
optional<float> converted = toNumber(value);
if (!converted) {
error.message = "value must be a number";
return nullopt;
}
return *converted;
}IA
IA
IA
optional<float> Converter<float>::operator()(const Convertible& value, Error& error) const {
optional<float> converted = toNumber(value);
if (!converted) {
error.message = "value must be a number";
return nullopt;
}
return *converted;
}