Returns a shallow copy of a flat GeoLeaf style. All properties are copied as-is — radius is the canonical point-size key.
radius
The nested fill/stroke format is no longer supported — profile style files should use flat keys (fillColor, fillOpacity, color, weight…).
fill
stroke
fillColor
fillOpacity
color
weight
Safe against prototype-pollution attacks: keys __proto__, constructor and prototype are never copied.
__proto__
constructor
prototype
Returns a shallow copy of a flat GeoLeaf style. All properties are copied as-is —
radiusis the canonical point-size key.The nested
fill/strokeformat is no longer supported — profile style files should use flat keys (fillColor,fillOpacity,color,weight…).Safe against prototype-pollution attacks: keys
__proto__,constructorandprototypeare never copied.