Angular2 directive for adding layers to the layers-control of Leaflet as base-layer.
You can use this directive in an Angular2 template after importing
How to use in a template:
<yaga-map> <yaga-layers-control> <!-- This can be any other layer... --> <yaga-tile-layer yaga-base-layer [caption]="'OSM'"></yaga-tile-layer> </yaga-attribution-control> </yaga-map>
Internal method to provide the removal from the control in Leaflet, when removing it from the Angular template
Generated using TypeDoc