OpenLayers

From OpenStreetMap Wiki
(Redirected from Openlayers)
Jump to navigation Jump to search

broom

This article or section may contain out-of-date information: Many pages about OpenLayers on this wiki are still based on the OpenLayers version 2 (last release in July 2013). With OpenLayers version 3, the API has changed a lot. For simple maps, Leaflet is an easier and lightweight alternative.
If you know about the current state of affairs, please help keep everyone informed by updating this information. (Discussion)
Logo

OpenLayers (openlayers.org) is an open-source implementation of a "Slippy Map" interface. It is a JavaScript library released under the BSD license. It is one of several libraries you can use to deploy your own slippy map on a website.

Examples

OpenLayers screenshot embedded in this wiki page

Most examples are also available for viewing online here.

More information

OpenLayers tools

  • Slippy Map Generator - Point and click to set up a map, then download the code needed to initialise OpenLayers.
  • FacilMap - Includeable JavaScript library to make it easy to set up OpenLayers with OSM layers, and other features such as search, and OpenStreetBugs.
  • Mapstraction - A library abstracting between different javascript map "providers" of which OpenLayers is one.
  • Slipple - A simple slippy map resembling Gmaps API, with custom markers and routes.

Base layers & overlays

See Tiles for examples of base layers and overlays available for building online maps