Options🔗
Definition🔗
class Options implements \JsonSerializable
{
public \Grafana\Foundation\Geomap\MapViewConfig $view;
public \Grafana\Foundation\Geomap\ControlsOptions $controls;
public \Grafana\Foundation\Common\MapLayerOptions $basemap;
/**
* @var array<\Grafana\Foundation\Common\MapLayerOptions>
*/
public array $layers;
public \Grafana\Foundation\Geomap\TooltipOptions $tooltip;
}
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()
.