You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Hello!
My little team is writing an application in linux + glfw + maplibre gl, the performance of using pure c++ api is great! We stuck in one thing: how to display names of geojsons? For example we use this https://docs.mapbox.com/mapbox-gl-js/example/variable-label-placement/, as we undrestood we have to use text-field': ['get', 'description'] in layer so in c++ we write such thing ->
auto symbolLayer = std::make_unique<SymbolLayer>("poi-labels", "places");
symbolLayer->setTextField(PropertyExpression<expression::Formatted>(createExpression(R"(["get", "description"])")));
what is wrong..? geojson is correct!
Also tried in such way symbolLayer->setTextField(PropertyExpression<expression::Formatted>(get("description")));
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello!
My little team is writing an application in linux + glfw + maplibre gl, the performance of using pure c++ api is great! We stuck in one thing: how to display names of geojsons? For example we use this https://docs.mapbox.com/mapbox-gl-js/example/variable-label-placement/, as we undrestood we have to use text-field': ['get', 'description'] in layer so in c++ we write such thing ->
what is wrong..? geojson is correct!
Also tried in such way
symbolLayer->setTextField(PropertyExpression<expression::Formatted>(get("description")));
The text was updated successfully, but these errors were encountered: