Home > @magiclane/maps-sdk > MarkerCollectionRenderSettings > toJSON
MarkerCollectionRenderSettings.toJSON() method
Standard JS hook invoked by JSON.stringify. Delegates to toJson so the C++ side receives the renamed field keys (e.g. groupingLevel, lowDensityGroupImage) and nested GemImage / Color objects use their own toJSON / toJson representations.
Signature:
toJSON(): Record<string, any>;Returns:
Record<string, any>