diff --git a/src/dymaptic.GeoBlazor.Core/Components/Views/MapView.razor b/src/dymaptic.GeoBlazor.Core/Components/Views/MapView.razor
index bd32271a..182ac4e0 100644
--- a/src/dymaptic.GeoBlazor.Core/Components/Views/MapView.razor
+++ b/src/dymaptic.GeoBlazor.Core/Components/Views/MapView.razor
@@ -10,15 +10,24 @@
@ChildContent
-
+ @if (WhiteLabel is null || !IsPro())
+ {
+
+ }
+ else
+ {
+
+ @((MarkupString)WhiteLabel)
+
+ }
diff --git a/src/dymaptic.GeoBlazor.Core/Components/Views/MapView.razor.cs b/src/dymaptic.GeoBlazor.Core/Components/Views/MapView.razor.cs
index c063b131..f460be33 100644
--- a/src/dymaptic.GeoBlazor.Core/Components/Views/MapView.razor.cs
+++ b/src/dymaptic.GeoBlazor.Core/Components/Views/MapView.razor.cs
@@ -211,6 +211,11 @@ public Point? Center
///
[Parameter]
public bool? PromptForOAuthLogin { get; set; }
+
+ [Parameter]
+#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
+ public string? WhiteLabel { get; set; }
+#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
#endregion
@@ -2371,5 +2376,26 @@ protected List GetActiveEventHandlers()
return activeHandlers;
}
+ private bool IsPro()
+ {
+ if (_isPro is null)
+ {
+ try
+ {
+ Assembly _ = Assembly.Load("dymaptic.GeoBlazor.Pro");
+
+ _isPro = true;
+ }
+ catch
+ {
+ _isPro = false;
+ }
+ }
+
+ return _isPro.Value;
+ }
+
+ private bool? _isPro;
+
#endregion
}
diff --git a/src/dymaptic.GeoBlazor.Core/dymaptic.GeoBlazor.Core.csproj b/src/dymaptic.GeoBlazor.Core/dymaptic.GeoBlazor.Core.csproj
index b72b49fa..6112b857 100644
--- a/src/dymaptic.GeoBlazor.Core/dymaptic.GeoBlazor.Core.csproj
+++ b/src/dymaptic.GeoBlazor.Core/dymaptic.GeoBlazor.Core.csproj
@@ -99,7 +99,7 @@
-
+