public TileLayer(string jsName, IWebBrowser browser, string urlTemplate, TileLayerOptions options) : base(jsName, browser) { Options = options; UrlTemplate = urlTemplate; }
public async Task <TileLayer> TileLayer(string jsName, string url, TileLayerOptions options = null) { var tileLayer = new TileLayer(jsName, Browser, url, options ?? TileLayerOptions.Default); return(await TileLayer(tileLayer)); }