1#ifndef __BINDMAPMARKER_HPP 
    2#define __BINDMAPMARKER_HPP 
    4#include "BindUtils.hpp" 
   38        copyAndOffset(out, &offset, &objID, 
sizeof(objID));
 
   39        copyAndOffset(out, &offset, &tag, 
sizeof(tag));
 
   40        copyAndOffset(out, &offset, &
lat, 
sizeof(
lat));
 
   41        copyAndOffset(out, &offset, &
lon, 
sizeof(
lon));
 
   44        copyAndOffset(out, &offset, &
scale, 
sizeof(
scale));
 
   45        copyAndOffset(out, &offset, &
cmdId, 
sizeof(
cmdId));
 
 
   50    uint8_t objID = BIND_ID_MAP_MARKER; 
 
   52    static int16_t tagIndex;
 
 
Represents a marker to be used in BindMap (street map) within BindCanvas.
Definition BindMapMarker.hpp:16
 
float rotation
Rotation angle of the marker (in degrees).
Definition BindMapMarker.hpp:21
 
uint16_t getBytes(uint8_t *out) override
Serializes the marker data into a byte array.
Definition BindMapMarker.hpp:35
 
uint8_t scale
Scale factor for the marker's size.
Definition BindMapMarker.hpp:22
 
float lon
Longitude coordinate of the marker's position.
Definition BindMapMarker.hpp:20
 
uint8_t iconId
Identifier for the marker's icon. Visit Markers enum in BindView.h.
Definition BindMapMarker.hpp:23
 
uint8_t cmdId
Command identifier.
Definition BindMapMarker.hpp:24
 
float lat
Latitude coordinate of the marker's position.
Definition BindMapMarker.hpp:19
 
Definition BindView.hpp:26