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

Latest

OpenLayers v5.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

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

Vector Layers

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

Cutting Edge, Fast & 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

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

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.

  • Latest v4: v4.6.5 released 2017-03-20 — docs, API & examples
  • Latest v3: v3.20.1, released 2016-12-12 — docs, API & examples
  • Latest v2: v2.13.1 (July 2013 i.e. really old) — you'll find everything you need on the 2.x page
  • Latest v1 — You're kidding, right?

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

Get Involved