The LeafletEsriTiledLayer class is an implementation of LeafletLayer. A LeafletMap will retrieve a LeafletEsriTiledLayer from its EsriLeafletMapLayerProvider.
var provider = new EsriLeafletMapLayerProvider(); var dataSource = new EsriDynamicLayerSource(id, name, description, layers); var leafletEsriTiledLayer = provider.provide(dataSource);
LayerSource
Property source is a LayerSource
LeafletMap
The LeafletEsriTiledLayer class is an implementation of LeafletLayer.
A LeafletMap will retrieve a LeafletEsriTiledLayer from its EsriLeafletMapLayerProvider.
var provider = new EsriLeafletMapLayerProvider();
var dataSource = new EsriDynamicLayerSource(id, name, description, layers);
var leafletEsriTiledLayer = provider.provide(dataSource);