Skip to content
forked from heremaps/xyz-maps

XYZ Editor is an open-source map editor written in TypeScript.

License

Notifications You must be signed in to change notification settings

roegi/xyz-editor

 
 

Repository files navigation

XYZ Editor JS

XYZ Editor is an experimental and work in progress open-source map editor written in TypeScript/JavaScript.

edit buildings with xyz-editor

Prerequisites

Start developing

  1. Clone this repository

    git clone https://github.com/heremaps/xyz-editor.git
    
    cd xyz-editor
    
  2. Install node module dependencies

    yarn install
    
  3. watch for source code changes and build dev version

    yarn run watch-dev
    

    Builds are located in ./packages/*/dist/

Setup your XYZ token

Setup an XYZ token is only required if the XYZ Hub endpoint at xyz.api.here.com is used. You can get a token by following the instructions in this guide.

If you are using a local XYZ Hub simply set set-access-token to an empty string.

Running tests / playground and debug pages requires the XYZ token to be provided.

  • Configure your XYZ token
    yarn run set-access-token YOUR_ACCESS_TOKEN
    

Serve debug page

Serve Playground

Other Commands

  • Run tests on release build yarn run test

  • Build development version yarn run build-dev (located in packages/*/dist/)

  • Build release version only yarn run build-release (minified...)

  • Build the documentation yarn run build-doc (located in packages/docs/dist/)

  • Create full release bundle yarn run bundle-release (includes documentation and playground)

  • Configure XYZ access token yarn run set-access-token YOUR_ACCESS_TOKEN

Guides

License

Copyright (C) 2019-2020 HERE Europe B.V.

This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details

About

XYZ Editor is an open-source map editor written in TypeScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 45.0%
  • JavaScript 44.7%
  • HTML 9.6%
  • Other 0.7%