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