{"id":13417776,"url":"https://github.com/openlayers-elements/openlayers-elements","last_synced_at":"2026-04-02T15:06:36.025Z","repository":{"id":34240535,"uuid":"170335461","full_name":"openlayers-elements/openlayers-elements","owner":"openlayers-elements","description":"Web Components for OpenLayers maps","archived":false,"fork":false,"pushed_at":"2025-02-12T20:40:14.000Z","size":6131,"stargazers_count":29,"open_issues_count":13,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-16T22:08:40.845Z","etag":null,"topics":["custom-elements","geojson","html5","openlayers","openstreetmap","webcomponents"],"latest_commit_sha":null,"homepage":"https://openlayers-elements.netlify.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openlayers-elements.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-02-12T14:50:09.000Z","updated_at":"2025-03-11T22:19:11.000Z","dependencies_parsed_at":"2024-01-14T04:49:46.366Z","dependency_job_id":"9c77d500-9106-4e0a-ae81-b630032e9362","html_url":"https://github.com/openlayers-elements/openlayers-elements","commit_stats":{"total_commits":227,"total_committers":5,"mean_commits":45.4,"dds":0.1674008810572687,"last_synced_commit":"e415e44192ed7a776d593eaf265b6e7253f6e762"},"previous_names":["openlayers-elements/openlayers-elements","zazuko/openlayers-elements"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlayers-elements%2Fopenlayers-elements","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlayers-elements%2Fopenlayers-elements/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlayers-elements%2Fopenlayers-elements/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlayers-elements%2Fopenlayers-elements/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openlayers-elements","download_url":"https://codeload.github.com/openlayers-elements/openlayers-elements/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249327257,"owners_count":21251862,"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":["custom-elements","geojson","html5","openlayers","openstreetmap","webcomponents"],"created_at":"2024-07-30T22:00:52.498Z","updated_at":"2026-01-24T07:07:24.914Z","avatar_url":"https://github.com/openlayers-elements.png","language":"TypeScript","funding_links":[],"categories":["Vanilla Components"],"sub_categories":[],"readme":"# OpenLayers Web Components\n\nWhile there are many great framework-specific OpenLayers wrappers, the goal of this\nproject is to wrap OpenLayers in W3C Web Components, which are a web standard\nsupported by all browsers currently and into the future.\n\nThis is a monorepo which contains:\n\n- **core** OpenLayers elements (incl. map itself) ([`@openlayers-elements/core`](elements/openlayers-core))\n- **common** OpenLayers elements (layers, markers, etc) ([`@openlayers-elements/openlayers-elements`](elements/openlayers-elements))\n- Swiss layers from geoadmin.ch ([`@openlayers-elements/swisstopo-elements`](elements/swisstopo-elements))\n- Package with bundles for quick and easy usage ([`@openlayers-elements/bundle`](bundle))\n\n## Features\n\nWhile extensive, human-friendly documentation is not yet available, be sure to check out the different features supported by the components live:\n\n- Core map features\n  - [Zooming to layers and features](https://openlayers-elements.netlify.app/?path=/story/core-ol-map--zoom-to-extent)\n- OpenStreetMaps\n  - [DEMO](https://openlayers-elements.netlify.app/?path=/docs/layers-ol-layer-openstreetmap--docs)\n- Adding features to the map (aka. vector layers)\n  - [GeoJSON](https://openlayers-elements.netlify.app/?path=/story/core-ol-select--popup)\n  - [WKT](https://openlayers-elements.netlify.app/?path=/docs/layers-ol-layer-wkt--docs)\n  - [Styling](https://openlayers-elements.netlify.app/?path=/story/layers-ol-layer-geojson--basic), actual code [here](storybook/lib/styled-map.ts)\n- XYZ Tile layers\n  - [DEMO](https://openlayers-elements.netlify.app/?path=/docs/layers-ol-layer-xyz--docs)\n- Map markers\n  - [DEMO](https://openlayers-elements.netlify.app/?path=/docs/core-ol-marker-icon--docs)\n- Map interactions\n  - [Select on click](https://openlayers-elements.netlify.app/?path=/docs/core-ol-select--docs)\n- Adding custom map controls\n  - [Positioning and styling](https://openlayers-elements.netlify.app/?path=/docs/core-ol-control--docs)\n- Adding overlays (popups, etc)\n  - [Basic example](https://openlayers-elements.netlify.app/?path=/story/core-ol-overlay--popup)\n  - [Combine with selection](https://openlayers-elements.netlify.app/?path=/story/core-ol-overlay--geo-json)\n- [Swiss layers](https://openlayers-elements.netlify.app/?path=/docs/swisstopo-swisstopo--docs)\n  - WMTS source\n  - XYZ layers, reprojected to Mercator\n\n## API Docs\n\n[Storybook](https://openlayers-elements.netlify.app/) also include generated API documentation.\n\n## Running Storybook locally\n\nSimply execute\n\n```sh\nnpm install\nnpm run start\n```\n\nAnd open http://localhost:6006\n\nYou may also start a watch process to update the generated custom elements manifest automatically:\n\n```sh\nnpm -w storybook run custom-elements-manifest:watch\n```\n\n## Running tests\n\nIf the Chrome binary / driver is installed in your PATH, simply run:\n\n```sh\nnpm run test\n```\n\nTo run with a container-based Chrome driver, instead run:\n\n```sh\ndocker compose -f contrib/docker/docker-compose.tests.yml \\\n  run --rm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenlayers-elements%2Fopenlayers-elements","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenlayers-elements%2Fopenlayers-elements","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenlayers-elements%2Fopenlayers-elements/lists"}