@yaga/leaflet-ng2
Version:
Angular2 module for Leaflet
12 lines (10 loc) • 326 B
text/typescript
import { Injectable } from "@angular/core";
import { LayerGroup, Map } from "leaflet";
/**
* Injectable Angular provider to structure Leaflet layer-groups with Angulars DI
* @link http://leafletjs.com/reference-1.2.0.html#layer-group
*/
()
export class LayerGroupProvider {
public ref?: Map | LayerGroup;
}