| @@ -2,10 +2,8 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * KML/KMZ Shortcode |
| 4 | 4 | * |
| 5 | 5 | * Use with [leaflet-kml src="..."] |
| 6 | - * | |
| 7 | - * PHP Version 5.5 | |
| 8 | 6 | * |
| 9 | 7 | * @category Shortcode |
| 10 | 8 | * @author Benjamin J DeLong <ben@bozdoz.com> |
| 11 | 9 | */ |
| @@ -27,9 +25,9 @@ | ||
| 27 | 25 | * How leaflet renders the src |
| 28 | 26 | * |
| 29 | 27 | * @var string $type |
| 30 | 28 | */ |
| 31 | - public static $type = 'kml'; | |
| 29 | + protected $type = 'kml'; | |
| 32 | 30 | |
| 33 | 31 | /** |
| 34 | 32 | * Default src |
| 35 | 33 | * |
| @@ -34,6 +32,6 @@ | ||
| 34 | 32 | * Default src |
| 35 | 33 | * |
| 36 | 34 | * @var string $default_src |
| 37 | 35 | */ |
| 38 | - public static $default_src = ''; | |
| 36 | + protected $default_src = 'https://cdn.jsdelivr.net/gh/mapbox/togeojson@master/test/data/polygon.kml'; | |
| 39 | 37 | } |