mirror of
https://github.com/10h30/wp-strava.git
synced 2026-07-11 18:56:18 +09:00
Fixed Polyline include path
This commit is contained in:
@@ -66,7 +66,7 @@ class WPStrava_StaticMap {
|
|||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
private static function decode_start_finish( $enc ) {
|
private static function decode_start_finish( $enc ) {
|
||||||
require_once WPSTRAVA_PLUGIN_DIR . 'includes/Polyline.php';
|
require_once WPSTRAVA_PLUGIN_DIR . 'src/Polyline.php';
|
||||||
$points = Polyline::decode( $enc );
|
$points = Polyline::decode( $enc );
|
||||||
$points = Polyline::pair( $points );
|
$points = Polyline::pair( $points );
|
||||||
$start = $points[0];
|
$start = $points[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user