LiveMap API
Loading...
Searching...
No Matches
livemap.configuration.Traders Class Reference

Properties

bool Enabled = true [get, set]
int UpdateInterval = 30 [get, set]
bool DefaultShowLayer = false [get, set]
IconOptions IconOptions [get, set]
TooltipOptionsTooltip = new() { Direction = "top", Content = "{0}<br>{1}" } [get, set]
PopupOptionsPopup [get, set]
string? Css = ".leaflet-traders-pane .leaflet-marker-icon{color:#204EA2;filter:drop-shadow(1px 0 0 black) drop-shadow(-1px 0 0 black) drop-shadow(0 1px 0 black) drop-shadow(0 -1px 0 black)} .leaflet-traders-pane span{position:relative;top:-22px;display:block;text-align:center;color:black;filter: drop-shadow(1px 0 0 #a5b8d9) drop-shadow(-1px 0 0 #a5b8d9) drop-shadow(0 1px 0 #a5b8d9) drop-shadow(0 -1px 0 #a5b8d9)}" [get, set]

Property Documentation

◆ Css

string? livemap.configuration.Traders.Css = ".leaflet-traders-pane .leaflet-marker-icon{color:#204EA2;filter:drop-shadow(1px 0 0 black) drop-shadow(-1px 0 0 black) drop-shadow(0 1px 0 black) drop-shadow(0 -1px 0 black)} .leaflet-traders-pane span{position:relative;top:-22px;display:block;text-align:center;color:black;filter: drop-shadow(1px 0 0 #a5b8d9) drop-shadow(-1px 0 0 #a5b8d9) drop-shadow(0 1px 0 #a5b8d9) drop-shadow(0 -1px 0 #a5b8d9)}"
getset

◆ DefaultShowLayer

bool livemap.configuration.Traders.DefaultShowLayer = false
getset

◆ Enabled

bool livemap.configuration.Traders.Enabled = true
getset

◆ IconOptions

IconOptions livemap.configuration.Traders.IconOptions
getset
Initial value:
= new() {
Title = "",
Alt = "",
IconUrl = "#svg-trader",
IconSize = new Point(16, 16),
Pane = "traders"
}
livemap.data.Point Point
Definition Spawn.cs:3

◆ Popup

PopupOptions? livemap.configuration.Traders.Popup
getset

◆ Tooltip

TooltipOptions? livemap.configuration.Traders.Tooltip = new() { Direction = "top", Content = "{0}<br>{1}" }
getset

◆ UpdateInterval

int livemap.configuration.Traders.UpdateInterval = 30
getset

The documentation for this class was generated from the following file: