Initial pass at static Mapbox maps

This commit is contained in:
Justin Foell
2021-11-26 16:36:39 -06:00
parent 6f5cd24ebc
commit e1814ccfb6
7 changed files with 147 additions and 46 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ class WPStrava_SegmentsRenderer {
$segments_output .= $segments->get_segments_link(
$segment_details->id,
WPStrava_StaticMap::get_image_tag( $segment_details, $map_height, $map_width, $atts['markers'], $segment_details->name ),
WPStrava_StaticMap::get_map()->get_image_tag( $segment_details, $map_height, $map_width, $atts['markers'], $segment_details->name ),
$segment_details->name
);