use of org.vaadin.addon.leaflet.control.LLayers in project v-leaflet by mstahv.
the class LMap method getLayersControl.
public LLayers getLayersControl() {
for (Extension e : getExtensions()) {
if (e instanceof LLayers) {
return (LLayers) e;
}
}
LLayers lLayers = new LLayers();
addExtension(lLayers);
return lLayers;
}
Aggregations