1 | <?php |
||
4 | class StaticGoogleMapSmarter extends Object |
||
|
|||
5 | { |
||
6 | /** |
||
7 | * Array is Formatted Like This: |
||
8 | * LocationOfIcon, LinkOfMapPin |
||
9 | * Locations can be: 12 Main Street, bla bla OR -45,180 (lat, lng) |
||
10 | * Icon can be something like: /themes/mysite/images/MyIcon.png (max 64 x 64) |
||
11 | * |
||
12 | * |
||
13 | * @param int $width |
||
14 | * @param int $height |
||
15 | * @param array $locationsAndIcons |
||
16 | * |
||
17 | * @return string |
||
18 | */ |
||
19 | public static function create_map($width = 640, $height = 640, $locationsAndIcons = array()) |
||
44 | } |
||
45 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.