Somar\MapDrawingField
Synopsis
class MapDrawingField
extends FormField
{
- // members
- protected $colour;
- protected $shapes;
- protected bool $readonly;
- protected $marker;
- protected $center;
- protected $zoom;
- // methods
- public void __construct()
- public void setColour()
- public void setReadonly()
- public void setZoom()
- public void setCenter()
- public void setMarker()
- public void setShapes()
- public void getAttributes()
- public void Field()
- protected void requireDependencies()
Hierarchy
Extends
- SilverStripe\Forms\FormField
Members
protected
- $center — array
- $colour — string
- $marker — array
- $readonly — Somar\bool
- $shapes — array
- $zoom — int
Methods
protected
public
- __construct()
- Field()
- getAttributes()
- setCenter() — Set the default center coordinates
- setColour() — Set the colour of the shape
- setMarker() — Set the marker coordinates
- setReadonly() — Set the readonly setting
- setShapes() — Set an array of 'other shapes' on the map
- setZoom() — Set the default zoom setting