14 std::string operationId;
15 double latitude = 0.0;
16 double longitude = 0.0;
24 double padding = 40.0;
25 double opacity = 0.65;
31 long long frameTime = 0;
32 long long requestId = 0;
37class MapCommandServer {
39 explicit MapCommandServer(std::string endpoint =
"tcp://127.0.0.1:5557");
40 ~MapCommandServer() =
default;
41 MapCommandServer(
const MapCommandServer&) =
delete;
42 MapCommandServer& operator=(
const MapCommandServer&) =
delete;
43 std::optional<MapCommand> poll();
46 std::optional<MapCommand> parseCommand(
const std::string& payload)
const;
48 zmq::context_t context{1};
49 zmq::socket_t socket{context, zmq::socket_type::sub};
Parsed command accepted by the native MapLibre renderer.
Definition map_command_server.hpp:12