Beispiel #1
0
 public TileLayer(string jsName, IWebBrowser browser,
                  string urlTemplate, TileLayerOptions options)
     : base(jsName, browser)
 {
     Options     = options;
     UrlTemplate = urlTemplate;
 }
Beispiel #2
0
        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));
        }