ControlsOptions🔗
Definition🔗
class ControlsOptions implements \JsonSerializable
{
/**
* Zoom (upper left)
*/
public ?bool $showZoom;
/**
* let the mouse wheel zoom
*/
public ?bool $mouseWheelZoom;
/**
* Lower right
*/
public ?bool $showAttribution;
/**
* Scale options
*/
public ?bool $showScale;
/**
* Show debug
*/
public ?bool $showDebug;
/**
* Show measure
*/
public ?bool $showMeasure;
}
Methods🔗
fromArray🔗
Builds this object from an array.
This function is meant to be used with the return value of json_decode($json, true)
.
jsonSerialize🔗
Returns the data representing this object, preparing it for JSON serialization with json_encode()
.