We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46e40a8 commit cd3019cCopy full SHA for cd3019c
models/GoogleMaps_DirectionsModel.php
@@ -24,7 +24,10 @@ public function plot($map)
24
'content' => $leg->start_address,
25
'lat' => $leg->start_location->lat,
26
'lng' => $leg->start_location->lng,
27
- 'icon' => $icon
+ 'icon' => array(
28
+ 'url' => $icon,
29
+ 'scaledSize' => array(22, 40)
30
+ )
31
);
32
33
if($index == count($route->legs) - 1)
@@ -35,7 +38,10 @@ public function plot($map)
35
38
'content' => $leg->end_address,
36
39
'lat' => $leg->end_location->lat,
37
40
'lng' => $leg->end_location->lng,
41
42
43
44
45
46
47
$locations[] = array(
0 commit comments