Added mapbox / gmaps setting switcher

This commit is contained in:
Justin Foell
2021-12-30 14:06:30 -06:00
parent e1814ccfb6
commit 51cc4b7abe
6 changed files with 225 additions and 47 deletions
+1 -3
View File
@@ -1,14 +1,12 @@
<?php
class WPStrava_StaticMapGoogle extends WPStrava_StaticMap {
class WPStrava_StaticGMap extends WPStrava_StaticMap {
/**
* Get an image tag to a static google map. Will render with
* detailed polyline if not greater than 1865 chars, otherwise
* rendering will use summary polyline.
*
* @static
* @access public
* @param object $activity Activity object to get image tag for.
* @param int $height Height of map in pixels.
* @param int $width Width of map in pixels.