1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace Cornford\Googlmapper\Facades; |
4
|
|
|
|
5
|
|
|
use Cornford\Googlmapper\Mapper; |
6
|
|
|
use Cornford\Googlmapper\Models\Location; |
7
|
|
|
use Illuminate\Support\Facades\Facade; |
8
|
|
|
|
9
|
|
|
/** |
10
|
|
|
* @method static string render(int $item) |
11
|
|
|
* @method static Location location() |
12
|
|
|
* @method static Mapper map($latitude, $longitude, array $options = []) |
13
|
|
|
* @method static Mapper streetview($latitude, $longitude, $heading, $pitch, array $options = []) |
14
|
|
|
* @method static Mapper marker($latitude, $longitude, array $options = []) |
15
|
|
|
* @method static Mapper informationWindow($latitude, $longitude, $content = '', array $options = []) |
16
|
|
|
* @method static Mapper polyline(array $coordinates = [], array $options = []) |
17
|
|
|
* @method static Mapper polygon(array $coordinates = [], array $options = []) |
18
|
|
|
* @method static Mapper rectangle(array $coordinates = [], array $options = []) |
19
|
|
|
* @method static Mapper circle(array $coordinates = [], array $options = []) |
20
|
|
|
* @method static bool isEnabled() |
21
|
|
|
* @method static void enableMapping() |
22
|
|
|
* @method static void setKey(string $value) |
23
|
|
|
* @method static string getKey() |
24
|
|
|
* @method static void setRegion(string $value) |
25
|
|
|
* @method static string getRegion() |
26
|
|
|
* @method static void setLanguage(string $value) |
27
|
|
|
* @method static string getLanguage() |
28
|
|
|
* @method static bool getAsync() |
29
|
|
|
* @method static void enableAsync() |
30
|
|
|
* @method static void disableAsync() |
31
|
|
|
* @method static bool getMarker() |
32
|
|
|
* @method static void enableMarkers() |
33
|
|
|
* @method static void disableMarkers() |
34
|
|
|
* @method static bool getCenter() |
35
|
|
|
* @method static void enableCenter() |
36
|
|
|
* @method static void disableCenter() |
37
|
|
|
* @method static bool getLocate() |
38
|
|
|
* @method static void enableLocate() |
39
|
|
|
* @method static void disableLocate() |
40
|
|
|
* @method static bool getUi() |
41
|
|
|
* @method static void enableUi() |
42
|
|
|
* @method static void disableUi() |
43
|
|
|
* @method static void setZoom(int $zoom) |
44
|
|
|
* @method static int getZoom() |
45
|
|
|
* @method static void setScrollWheelZoom(bool $value) |
46
|
|
|
* @method static bool getScrollWheelZoom() |
47
|
|
|
* @method static void setZoomControl(bool $value) |
48
|
|
|
* @method static bool getZoomControl() |
49
|
|
|
* @method static void setMapTypeControl(bool $value) |
50
|
|
|
* @method static bool getMapTypeControl() |
51
|
|
|
* @method static void setScaleControl(bool $value) |
52
|
|
|
* @method static bool getScaleControl() |
53
|
|
|
* @method static void setStreetViewControl(bool $value) |
54
|
|
|
* @method static bool getStreetViewControl() |
55
|
|
|
* @method static void setRotateControl(bool $value) |
56
|
|
|
* @method static bool getRotateControl() |
57
|
|
|
* @method static void setFullscreenControl(bool $value) |
58
|
|
|
* @method static bool getFullscreenControl() |
59
|
|
|
* @method static void setType(string $value) |
60
|
|
|
* @method static string getType() |
61
|
|
|
* @method static void setHeading(int|double $value) |
62
|
|
|
* @method static int|double getHeading() |
63
|
|
|
* @method static void setTilt(int $value) |
64
|
|
|
* @method static int getTilt() |
65
|
|
|
* @method static void setIcon(string $value) |
66
|
|
|
* @method static string getIcon() |
67
|
|
|
* @method static void setAnimation(string $value) |
68
|
|
|
* @method static string getAnimation() |
69
|
|
|
* @method static void setGestureHandling(string $value) |
70
|
|
|
* @method static string getGestureHandling() |
71
|
|
|
* @method static bool getCluster() |
72
|
|
|
* @method static void enableCluster() |
73
|
|
|
* @method static void disableCluster() |
74
|
|
|
* @method static void setClustersIcon(string $value) |
75
|
|
|
* @method static string getClustersIcon() |
76
|
|
|
* @method static void setClustersGrid(int $value) |
77
|
|
|
* @method static int getClustersGrid() |
78
|
|
|
* @method static void setClustersZoom(int|null $value) |
79
|
|
|
* @method static int|null getClustersZoom() |
80
|
|
|
* @method static void setClustersCenter(bool $value) |
81
|
|
|
* @method static bool getClustersCenter() |
82
|
|
|
* @method static void setClustersSize(int $value) |
83
|
|
|
* @method static int getClustersSize() |
84
|
|
|
* @method static array getItems() |
85
|
|
|
* @method static array|bool getItem(int $item) |
86
|
|
|
* |
87
|
|
|
* @see Mapper |
88
|
|
|
*/ |
89
|
|
|
class MapperFacade extends Facade |
90
|
|
|
{ |
91
|
|
|
/** |
92
|
|
|
* {@inheritDoc} |
93
|
|
|
*/ |
94
|
|
|
protected static function getFacadeAccessor() |
95
|
|
|
{ |
96
|
|
|
return Mapper::class; |
97
|
|
|
} |
98
|
|
|
} |
99
|
|
|
|