A high-performance, feature-packed library for all your mapping needs.

Latest

OpenLayers v10.3.0 is here! Check out the docs and the examples to get started. The full distribution can be downloaded from the release page.

Overview

OpenLayers makes it easy to put a dynamic map in any web page. It can display map tiles, vector data and markers loaded from any source. OpenLayers has been developed to further the use of geographic information of all kinds. It is completely free, Open Source JavaScript, released under the 2-clause BSD License (also known as the FreeBSD).

Features

Tiled Layers

tiled layers

Pull tiles from OSM, Bing, MapBox, Stadia Maps, and any other XYZ source you can find. OGC mapping services and untiled layers also supported.

Vector Layers

vector layers

Render vector data from GeoJSON, TopoJSON, KML, GML, Mapbox vector tiles, and other formats.

Cutting Edge, Fast & Mobile Ready

mobile ready

Leverages Canvas 2D, WebGL, and all the latest greatness from HTML5. Mobile support out of the box. Build lightweight custom profiles with just the components you need.

Easy to Customize and Extend

customizable

Style your map controls with straight-forward CSS. Hook into different levels of the API or use 3rd party libraries to customize and extend functionality.

Learn More

Quick Start

Seen enough already? Go here to get started.

Get the Code

Get the latest release or dig through the archives.

Tutorials

Spend time learning the basics and graduate up to advanced mapping techniques.

Workshop

Want to learn OpenLayers hands-on? Get started with the workshop.

API Docs

Browse through the API docs for details on code usage.

Older versions

In case you are not ready (yet) for the latest version of OpenLayers, we provide links to selected resources of older major versions of the software.

Please consider upgrading to benefit from the latest features and bug fixes. Get better performance and usability for free by using recent versions of OpenLayers.

Get Involved