Jake Vanderwerf
2026-08-28 a9654f00c8fbc9934289d761843ddd071025013f
inc/integrations/services/GoogleMapsOld.php
@@ -7,6 +7,7 @@
namespace JVBase\integrations\services;
use JVBase\integrations\Integrations;
use JVBase\registrar\Registrar;
use WP_Error;
if (!defined('ABSPATH')) {
   exit;
@@ -17,7 +18,6 @@
   private string $public_key;
   private string $private_key;
   private string $map_id;
   private array $enabled_apis = [];
   // Edmonton default coordinates
   private const DEFAULT_LAT = 53.5461;
@@ -649,25 +649,20 @@
   {
      $theme = $this->credentials['theme'] ?? 'default';
      switch ($theme) {
         case 'dark':
            return [
      return match ($theme) {
         'dark' => [
               ['elementType' => 'geometry', 'stylers' => [['color' => '#242f3e']]],
               ['elementType' => 'labels.text.fill', 'stylers' => [['color' => '#746855']]],
               ['elementType' => 'labels.text.stroke', 'stylers' => [['color' => '#242f3e']]],
               ['featureType' => 'road', 'elementType' => 'geometry', 'stylers' => [['color' => '#38414e']]],
               ['featureType' => 'water', 'elementType' => 'geometry', 'stylers' => [['color' => '#17263c']]]
            ];
         case 'minimal':
            return [
         ],
         'minimal' => [
               ['featureType' => 'poi', 'stylers' => [['visibility' => 'off']]],
               ['featureType' => 'transit', 'stylers' => [['visibility' => 'off']]]
            ];
         default:
            return [];
      }
         ],
         default => [],
      };
   }
   /**