API Reference
MapboxMapSettings
Settings sub‑builder for MapboxMap to keep the root surface tidy.
Inheritance
- Object
- MapboxMapSettings
Methods
public MapboxMapSettings AccessibilityStyles(String highContrastStyleUrl, String colorBlindStyleUrl, String combinedStyleUrl = null) #MapboxMapSettingsOverrides accessibility styles using custom Mapbox style URLs.
Parameters
- highContrastStyleUrl System.String
- colorBlindStyleUrl System.String
- combinedStyleUrl System.String = null
public MapboxMapSettings Center(Double latitude, Double longitude) #MapboxMapSettingsSets center lat/lng.
Parameters
- latitude System.Double
- longitude System.Double
public MapboxMapSettings FollowAccessibility(Boolean follow = true) #MapboxMapSettingsExplicitly enables/disables accessibility style following.
Parameters
- follow System.Boolean = true
public MapboxMapSettings FollowTheme(Boolean follow = true) #MapboxMapSettingsExplicitly enables/disables theme following (requires String)).
Parameters
- follow System.Boolean = true
public MapboxMapSettings GlowMarker(Double latitude, Double longitude, String color = null, Nullable<Double> sizePx = null, Nullable<Double> glowSizePx = null) #MapboxMapSettingsAdds a glowing marker at given coordinates with optional color and sizing.
Parameters
- latitude System.Double
- longitude System.Double
- color System.String = null
- sizePx System.Nullable{System.Double} = null
- glowSizePx System.Nullable{System.Double} = null
public MapboxMapSettings Height(String height) #MapboxMapSettingsSets container height (e.g., "420px").
Parameters
- height System.String
public MapboxMapSettings LazyInit(Boolean enabled = true) #MapboxMapSettingsControls whether initialization is deferred until the map becomes visible.
Parameters
- enabled System.Boolean = true
public MapboxMapSettings Marker(Double latitude, Double longitude, String color = null) #MapboxMapSettingsAdds a marker at given coordinates with optional color.
Parameters
- latitude System.Double
- longitude System.Double
- color System.String = null
public MapboxMapSettings OverlayIntensity(Double opacity) #MapboxMapSettingsSets overlay intensity (0..1) for grid/vignette overlays.
Parameters
- opacity System.Double
public MapboxMapSettings OverlayStyle(MapboxOverlayStyle style) #MapboxMapSettingsApplies an overlay style preset (grid/vignette).
Parameters
- style HtmlForgeX.MapboxOverlayStyle
public MapboxMapSettings PulseMarker(Double latitude, Double longitude, String color = null, Nullable<Double> sizePx = null, Nullable<Double> pulseSizePx = null, Nullable<Double> speedSeconds = null) #MapboxMapSettingsAdds a pulsing marker at given coordinates with optional color and sizing.
Parameters
- latitude System.Double
- longitude System.Double
- color System.String = null
- sizePx System.Nullable{System.Double} = null
- pulseSizePx System.Nullable{System.Double} = null
- speedSeconds System.Nullable{System.Double} = null
public MapboxMapSettings ThemeStyles(MapboxStyle lightStyle, MapboxStyle darkStyle) #MapboxMapSettingsEnables theme-aware style switching for System (live update on theme changes).
Parameters
- lightStyleUrl System.String
- darkStyleUrl System.String
ThemeStyles(HtmlForgeX.MapboxStyle lightStyle, HtmlForgeX.MapboxStyle darkStyle) #Enables theme-aware style switching for System (live update on theme changes).
Parameters
- lightStyle HtmlForgeX.MapboxStyle
- darkStyle HtmlForgeX.MapboxStyle
public MapboxMapSettings Zoom(Double zoom) #MapboxMapSettingsSets initial zoom level.
Parameters
- zoom System.Double