Skip to content

Type Alias: MarkerPatch ​

ts
type MarkerPatch = Partial<
  Pick<
    MarkerData,
    | 'x'
    | 'y'
    | 'z'
    | 'size'
    | 'color'
    | 'colorValues'
    | 'lineColor'
    | 'lineWidth'
    | 'symbol'
    | 'opacity'
    | 'angle'
    | 'image'
  >
>;

Experimental

Fields accepted by MarkerSet.patch (arrays indexed from the patch start).

Released under the MIT License.