-
Notifications
You must be signed in to change notification settings - Fork 6
/
EGmap3CircleOptions.php
67 lines (65 loc) · 1.41 KB
/
EGmap3CircleOptions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
/**
* EGmap3 Yii extension
*
* Object oriented PHP interface to GMAP3 Javascript library for
* Google Maps.
*
* @copyright © Digitick <www.digitick.net> 2011
* @license GNU Lesser General Public License v3.0
* @author Ianaré Sévi
*
*/
/**
* Circle options.
* @link http://code.google.com/intl/fr/apis/maps/documentation/javascript/reference.html#CircleOptions
*/
class EGmap3CircleOptions extends EGmap3OptionBase
{
/**
* @var array The center
*/
public $center;
/**
* @var boolean Indicates whether this Circle handles click events.
* Defaults to true.
*/
public $clickable;
/**
* @var string The fill color. All CSS3 colors are supported except for
* extended named colors.
*/
public $fillColor;
/**
* @var float The fill opacity between 0.0 and 1.0
*/
public $fillOpacity;
/**
* @var integer The radius in meters on the Earth's surface.
*/
public $radius;
/**
* @var string The stroke color. All CSS3 colors are supported except for
* extended named colors.
*/
public $strokeColor;
/**
* @var float The stroke opacity between 0.0 and 1.0
*/
public $strokeOpacity;
/**
* @var integer The stroke width in pixels.
*/
public $strokeWeight;
/**
* @var integer The zIndex compared to other polys.
*/
public $zIndex;
public function getOptionChecks()
{
$array = array(
'center' => 'array'
);
return array_merge($array, parent::getOptionChecks());
}
}