{"id":13937892,"url":"https://github.com/heremaps/harp-map-editor","last_synced_at":"2025-07-20T00:31:20.836Z","repository":{"id":38807669,"uuid":"188378373","full_name":"heremaps/harp-map-editor","owner":"heremaps","description":"Simple map editor for harp.gl map styles","archived":true,"fork":false,"pushed_at":"2022-10-27T07:50:01.000Z","size":208643,"stargazers_count":14,"open_issues_count":1,"forks_count":6,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-05-25T20:07:18.709Z","etag":null,"topics":["design","harpgl","js","maps","typescript"],"latest_commit_sha":null,"homepage":"http://heremaps.github.io/harp-map-editor/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heremaps.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}},"created_at":"2019-05-24T07:54:18.000Z","updated_at":"2024-11-01T08:15:55.000Z","dependencies_parsed_at":"2023-01-19T16:45:19.238Z","dependency_job_id":null,"html_url":"https://github.com/heremaps/harp-map-editor","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/heremaps/harp-map-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heremaps%2Fharp-map-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heremaps%2Fharp-map-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heremaps%2Fharp-map-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heremaps%2Fharp-map-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heremaps","download_url":"https://codeload.github.com/heremaps/harp-map-editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heremaps%2Fharp-map-editor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266048498,"owners_count":23868738,"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":["design","harpgl","js","maps","typescript"],"created_at":"2024-08-07T23:04:00.665Z","updated_at":"2025-07-20T00:31:15.990Z","avatar_url":"https://github.com/heremaps.png","language":"TypeScript","readme":"# HERE is stopping its engagement on Harp.gl starting 03/01/2022 in favour of a fully productised and production-grade integration of the harp.gl rendering engine into HERE Maps API for JavaScript (https://developer.here.com/develop/javascript-api) All 3D features and many more will be offered via HERE Maps API for JavaScript moving forward.\n\n# @here/harp-map-editor [![Build Status](https://travis-ci.com/heremaps/harp-map-editor.svg?branch=master)](https://travis-ci.com/heremaps/harp-map-editor)\n\n## Overview\n\n### A simple online editor for harp.gl themes.\n\nAllows you to create and edit existing themes.\n\nThe following features are currently available:\n - export and import of themes\n - live preview\n - style change\n - restore page state after page reload\n - default themes\n - code formatting\n - theme source code validation\n - code autocompletion\n - two window mode\n\nWhen you run the editor, you should get something similar to the image shown below:\n\n![Sample editor](editor.png)\n\n## Development\n\n### Prerequisites\n\n-   **Node.js** - Please see [nodejs.org](https://nodejs.org/) for installation instructions.\n-   **Yarn** - Optional. Please see [yarnpkg.com](https://yarnpkg.com/en/) for installation instructions.\n\n### Download dependencies\n\nRun:\n\n```sh\nnpm install\n```\nor\n\n```sh\nyarn install\n```\n\nto download and install all required packages.\n\n### Launch development server for harp.gl theme editor\n\nRun:\n\n```sh\nyarn start\n```\n\nTo launch `webpack-dev-server`. Open `http://localhost:8080/` in your favorite browser.\n\nTo build the editor run:\n\n```sh\nyarn build\n```\nThe build result will be in `dist` folder.\n\n### Update gh-pages automatically\n\nIn order to update `gh-pages`, you will need to first disable the branch protection, otherwise\nTravisCI won't be able to push to that branch.\n\nIncrement the package version and then tag your commit, either locally or if the package version has\nbeen updated already, you can make a release in the GitHub UI and it will create the tag. Note, the\ntag must be of the form: `vX.X.X`, because this is how travis knows to publish, see `.travis.yml`\n\nThis will automatically start the job to publish, go to TravisCI and check the status and make sure\nyou see something like: `Switched to a new branch 'gh-pages'`\n\nIf you have problems, try fixing it manually below.\n\n### Update gh-pages manually\n\n#### Fixing locally\n\nIf you have any trouble with the updating of gh-pages, for example the publish works but the deploy\nfails, then restarting the job won't work, because npm will complain that the given package already\nexists. Deploying to `gh-pages` will then not be executed. To resolve this, go to the root\ndirectory locally, and run (assuming you have a fresh checkout):\n- `git checkout master`\n- `yarn \u0026\u0026 yarn build`\n- `mv dist/ ..`\n- `git checkout gh-pages`\n- `cp -r ../dist/* .`\n- `git add *` (you may also need to `git rm` some files if `git status` complains)\n- `git push origin gh-pages`\n- Go to https://github.com/heremaps/harp-map-editor/settings/branches and select `gh-pages`, and re\n enable branch protection.\n\n#### Fixing via travis-ci\n\nIt is possible to re-run a job with custom yaml, simply remove the `npm publish` step from the\n`.travis.yml` and re-run the job.\n\nCheck that the changes are visible: https://heremaps.github.io/harp-map-editor/\n\n## License\n\nCopyright (C) 2017-2020 HERE Europe B.V.\n\nSee the [LICENSE](./LICENSE) file in the root of this project for license details.\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheremaps%2Fharp-map-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheremaps%2Fharp-map-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheremaps%2Fharp-map-editor/lists"}