Skip to content

Commit

Permalink
feat: expose getFlatLayersArray function
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertOrthofer committed Aug 25, 2023
1 parent f7ea32b commit 048c702
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion elements/map/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { addSelect } from "./src/select";
import { generateLayers, EoxLayer } from "./src/generate";
import Interaction from "ol/interaction/Interaction";
import Control from "ol/control/Control";
import { getLayerById } from "./src/layer";
import { getLayerById, getFlatLayersArray } from "./src/layer";
import { getCenterFromAttribute } from "./src/center";
import { addInitialControls } from "./src/controls";
import "./src/compare";
Expand Down Expand Up @@ -124,6 +124,8 @@ export class EOxMap extends LitElement {
return getLayerById(this, layerId);
};

getFlatLayersArray = getFlatLayersArray;

render() {
const shadowStyleFix = `
:host {
Expand Down

0 comments on commit 048c702

Please sign in to comment.