{"id":13814619,"url":"https://github.com/openlayers/ol2","last_synced_at":"2025-05-15T09:07:59.173Z","repository":{"id":1679924,"uuid":"2407157","full_name":"openlayers/ol2","owner":"openlayers","description":"OpenLayers v2 - deprecated!","archived":false,"fork":false,"pushed_at":"2022-05-11T15:05:10.000Z","size":13232,"stargazers_count":1473,"open_issues_count":520,"forks_count":771,"subscribers_count":153,"default_branch":"master","last_synced_at":"2025-04-14T15:02:14.463Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openlayers.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-09-17T23:02:10.000Z","updated_at":"2025-02-24T19:02:56.000Z","dependencies_parsed_at":"2022-08-29T06:21:30.791Z","dependency_job_id":null,"html_url":"https://github.com/openlayers/ol2","commit_stats":null,"previous_names":[],"tags_count":82,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlayers%2Fol2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlayers%2Fol2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlayers%2Fol2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlayers%2Fol2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openlayers","download_url":"https://codeload.github.com/openlayers/ol2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254310520,"owners_count":22049470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T04:02:22.261Z","updated_at":"2025-05-15T09:07:54.163Z","avatar_url":"https://github.com/openlayers.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# OpenLayers v2 is deprecated!\n\n## Please go to https://github.com/openlayers/openlayers for the maintained successor.\n\n# OpenLayers 2\n\nCopyright (c) 2005-2015 OpenLayers Contributors. See authors.txt for\nmore details.\n\nOpenLayers is a JavaScript library for building map applications\non the web. OpenLayers is made available under a BSD-license.\nPlease see license.txt in this distribution for more details.\n\n## Getting OpenLayers 2\n\nOpenLayers lives at http://www.openlayers.org/two/.  Find details on downloading stable releases or the development version the [development site](http://trac.osgeo.org/openlayers/wiki/HowToDownload).\n\n## Installing OpenLayers 2\n\nYou can use OpenLayers as-is by copying build/OpenLayers.js and the\nentire theme/ and img/ directories up to your webserver and putting them\nin the same directory. The files can be in subdirectories on your website,\nor right in the root of the site, as in these examples.\nTo include the OpenLayers library in your web page from the root of the site, use:\n\n    \u003cscript type=\"text/javascript\" src=\"/OpenLayers.js\" /\u003e\n\nAs an example, using bash (with the release files in ~/openlayers):\n\n    $ cd /var/www/html\n    $ cp ~/openlayers/OpenLayers.js ./\n    $ cp -R ~/openlayers/theme ./\n    $ cp -R ~/openlayers/img ./\n\nIf you want to use the multiple-file version of OpenLayers (for, say,\ndebugging or development purposes), copy the lib/ directory up to your\nwebserver in the same directory you put the img/ folder. Then add\nthe following to your web page instead:\n\n    \u003cscript type=\"text/javascript\" src=\"/lib/OpenLayers.js\" /\u003e\n\nAs an example, using bash (with the release files in ~/openlayers):\n\n    $ cd /var/www/html\n    $ cp -R ~/openlayers/lib ./\n    $ cp -R ~/openlayers/theme ./\n    $ cp -R ~/openlayers/img ./\n\n## Alternate OpenLayers 2 Versions in this Release\n\nThe following versions of OpenLayers 2 single file builds are included in this release\nand can be used in place of OpenLayers.js in any of the above instructions:\n\n1. OpenLayers.js - full build --\u003e Includes everything except the alternate language\n    translations and deprecated classes.\n2. OpenLayers.mobile.js - a mobile focused build --\u003e Includes a subset of the OpenLayers 2\n    library to serve common mobile web app use cases. This build provides access to\n    OpenStreetMap, Bing, WMS, WFS and vector layers; touch optimized controls; geolocation;\n    vector editing and interaction tools. The examples tagged ``mobile`` can use this build.\n3. OpenLayers.light.js - a simple use case focused build --\u003e Includes a subset of the\n    OpenLayers library to serve the basic use case of displaying points and polygons\n    on a map. This build provides access to OpenStreetMap, Bing, Google, WMS, and\n    vector layers; basic map controls; and vector interaction tools. The examples\n    tagged ``light`` can use this build.\n\n## Using OpenLayers 2 in Your Own Website\n\nThe [examples directory](http://dev.openlayers.org/examples/) is full of useful examples.\n\nDocumentation is available at http://trac.osgeo.org/openlayers/wiki/Documentation.\nYou can generate the API documentation with http://www.naturaldocs.org/\nAs an example, using bash (with the release files in ~/openlayers):\n\n    $ cd ~/openlayers/\n    $ /path/to/NaturalDocs -i lib/ -o HTML doc/ -p doc_config/ -s Default OL\n\nInformation on changes in the API is available in release notes found in the notes folder.\n\n## Contributing to OpenLayers 2\n\nPlease join the email lists at http://trac.osgeo.org/openlayers/wiki/MailingLists\nPatches are welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenlayers%2Fol2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenlayers%2Fol2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenlayers%2Fol2/lists"}