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