OpenLayers OpenLayers 2
Put an open map widget in any web page!

Books about OpenLayers

OpenLayers is a project of the Open Source Geospatial Foundation.

Visit our sponsorship page to find out how you can become an OpenLayers sponsor.

We welcome contributions of any size. If you're interested in supporting OpenLayers development, you can also use our Gittip account:

OpenLayers: Free Maps for the Web

Support Note

Although Openlayers 2 continues to work and is still in use, development work is concentrating on version 3. OpenLayers users are recommended to upgrade to version 3. Although occasional commits to the repository continue to be made, there are no longer regular releases. Those wanting the latest code for version 2 are recommended to download the master branch in the repository and use that. The code is stable even if there is no longer any formal release cycle.

Where to get OpenLayers 2:

About OpenLayers

OpenLayers makes it easy to put a dynamic map in any web page. It can display map tiles 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).

Introducing OpenLayers 3!

OpenLayers 3 is a comprehensive rewrite of the library, targeting the latest in HTML5 and CSS3 features. The library continues to have broad support for projections, standard protocols, and editing functionality. The new version of the library focuses on performance improvements, lighter builds, prettier visual components, an improved API, and more.

For Developers!

OpenLayers is a pure JavaScript library for displaying map data in most modern web browsers, with no server-side dependencies. OpenLayers implements a JavaScript API for building rich web-based geographic applications, similar to the Google Maps APIs, with one important difference -- OpenLayers is Free Software, developed for and by the Open Source software community.

Getting the Code

Releases are made available on the downloads page. The code is also available in our Git repository. With a clone of the Git repository, you can keep up with the latest and contribute patches to OpenLayers.

If you don't want to download the code, you can still try some of the hosted examples. If you're familiar with JavaScript, try viewing the source of the examples to get an idea how the OpenLayers library is used.

Other Resources