Svelte OpenLayers
HomeDocumentationExamples
GitHub

Overview

All Examples Browse all available examples

Foundation

Basic Map Simple OpenLayers map with tile layer and reactive bindings

Core Features

Features Points, lines, and polygons with custom styling and click interactions
Layer Management Multiple tile sources and vector layer visibility controls

Interactions

Interactive Tooltips Context-sensitive tooltips with hover and click modes

Advanced

Dynamic Theming Interactive theme customization with CSS variables and dark mode

Basic Map

A simple map showing the most basic OpenLayers integration with Svelte.

Center: [0.00, 0.00]
Zoom: 2.0