Updated readme and versions

This commit is contained in:
Justin Foell
2021-12-30 14:14:07 -06:00
parent 51cc4b7abe
commit 9abd2e9ac2
5 changed files with 11 additions and 10 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ class WPStrava_StaticMapbox extends WPStrava_StaticMap {
* @param bool $markers Display start and finish markers.
* @return string Image URL.
* @author Justin Foell <justin@foell.org>
* @since next
* @since 2.11
*/
private function build_url( $polyline, $height = 320, $width = 480, $markers = false ) {
@@ -86,7 +86,7 @@ class WPStrava_StaticMapbox extends WPStrava_StaticMap {
* @param mixed $polyline Polyline string.
* @return int Encoded polyline string length.
* @author Justin Foell <justin@foell.org>
* @since next
* @since 2.11
*/
protected function polyline_length( $polyline ) {
return strlen( rawurlencode( $polyline ) );