Added scale=2 to maps image

This commit is contained in:
Justin Foell
2019-08-02 15:57:14 -05:00
parent adf1612a39
commit 4a9b531fa6
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ class WPStrava_StaticMap {
return '';
}
$url = "https://maps.googleapis.com/maps/api/staticmap?maptype=terrain&size={$width}x{$height}&sensor=false&key={$key}&path=color:0xFF0000BF|weight:2|enc:";
$url = "https://maps.googleapis.com/maps/api/staticmap?maptype=terrain&size={$width}x{$height}&scale=2&sensor=false&key={$key}&path=color:0xFF0000BF|weight:2|enc:";
$url_len = strlen( $url );
$max_chars = 1865;