diff --git a/leaflet_views/src/Plugin/views/style/LeafletMap.php b/leaflet_views/src/Plugin/views/style/LeafletMap.php
index f3c8ec2..220071a 100644
--- a/leaflet_views/src/Plugin/views/style/LeafletMap.php
+++ b/leaflet_views/src/Plugin/views/style/LeafletMap.php
@@ -38,14 +38,14 @@ class LeafletMap extends StylePluginBase implements ContainerFactoryPluginInterf
    *
    * @var string
    */
-  private $entityType;
+  protected $entityType;
 
   /**
    * The Entity Info service property.
    *
    * @var string
    */
-  private $entityInfo;
+  protected $entityInfo;
 
   /**
    * Does the style plugin for itself support to add fields to it's output.
