BinaryFeatureStateMap | MapGL | Urbi Documentation
MapGL JS API

BinaryFeatureStateMap

Binary representation of featureStateMap. Contains usual FeatureStateMap data packed by @2gis/json2pbf library

Example:

import { packJson } from '@2gis/json2pbf';

const featureStateMap = {
  "70030076195691401": { "height": 300 },
  "70030076130722099": { "height": 200 },
}

const packed = packJson(featureStateMap);
ArrayBuffer