1.0.6 • Published 2 years ago

ol-side-panel v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ol-side-panel

A responsive tabbed left side panel for OpenLayers.

image

Inspiration / Credit

ol-side-panel is inspired by and originally based on the code of Turbo87/sidebar-v2 - also MIT licensed.

Getting started

npm i ol-side-panel
import { SidePanel } from 'ol-side-panel';

const sidePanel = new SidePanel();

map.addControl(sidePanel);

const layersPane = sidePanel.definePane({
  paneId: 'layers',
  name: "Layers",
  icon: '<i class="bi bi-layers-half"></i>'
});

const layersGreeting = document.createElement('p');
layersGreeting.innerHTML = "Hi there layers!";

layersPane.addWidgetElement(layersGreeting);
1.0.6

2 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago