| 1 | <?php |
||
| 18 | class Line extends \MapsBaseStrokableElement { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @since 3.0 |
||
| 22 | * |
||
| 23 | * @var LatLongValue[] |
||
| 24 | */ |
||
| 25 | protected $coordinates; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @since 3.0 |
||
| 29 | * |
||
| 30 | * @param LatLongValue[] $coordinates |
||
| 31 | * |
||
| 32 | * @throws InvalidArgumentException |
||
| 33 | */ |
||
| 34 | 6 | public function __construct( array $coordinates = [] ) { |
|
| 43 | |||
| 44 | /** |
||
| 45 | * @since 3.0 |
||
| 46 | * |
||
| 47 | * @return LatLongValue[] |
||
| 48 | */ |
||
| 49 | 3 | public function getLineCoordinates() { |
|
| 52 | |||
| 53 | public function getJSONObject( string $defText = '', string $defTitle = '' ): array { |
||
| 68 | |||
| 69 | } |
||
| 70 |