0.37.0 • Published 12 days ago

@here/xyz-maps-core v0.37.0

Weekly downloads
59
License
Apache-2.0
Repository
github
Last release
12 days ago

XYZ Maps JS: Core

XYZ Maps is an experimental and work in progress open-source map editor written in TypeScript/JavaScript. The core module of XYZ Maps provides the most basic functionality and is used by all other modules of xyz-maps. Main functionalities of the module are: DataProviders, TileLayers, Geometric Classes and Styling definitions.

Links

Installation

Install XYZ Map Core by using

# install using npm
npm install @here/xyz-maps-core

or

# install using yarn
yarn add @here/xyz-maps-core

Example Usage:

Create a MVTLayer

import {MVTLayer} from '@here/xyz-maps-core';

// create a MVT Layer
const myLayer = new MVTLayer({
    remote: {
        url: 'https://xyz.api.here.com/tiles/osmbase/512/all/{z}/{x}/{y}.mvt?access_token=' + YOUR_ACCESS_TOKEN
        tileSize : 512
    },
    min: 1,
    max: 20
})
// and add it to the map display
display.addLayer(myLayer);

Start developing

  1. Install node module dependencies

    yarn install

    In case yarn is not installed already: install yarn

  2. watch for source code changes and build dev version

    yarn run watch-dev

    Builds are located in located in ./dist/

Other

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

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

License

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

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

0.37.0

12 days ago

0.36.0

6 months ago

0.35.0

9 months ago

0.34.0

11 months ago

0.33.0

1 year ago

0.33.0-dev.0

1 year ago

0.32.0

2 years ago

0.31.0

2 years ago

0.30.0

2 years ago

0.29.0

2 years ago

0.28.0

2 years ago

0.28.0-dev.1

2 years ago

0.28.0-dev.0

2 years ago

0.27.0

2 years ago

0.26.0

3 years ago

0.25.0

3 years ago

0.24.0

3 years ago

0.23.0

3 years ago

0.22.0

3 years ago

0.21.0

3 years ago

0.21.1

3 years ago

0.20.0

3 years ago

0.19.0

3 years ago

0.18.0

3 years ago

0.17.0

4 years ago

0.16.0

4 years ago

0.15.2

4 years ago

0.15.1

4 years ago

0.15.0

4 years ago

0.14.1

4 years ago

0.14.0

4 years ago

0.13.0

4 years ago

0.12.0

4 years ago

0.11.1

4 years ago

0.11.0

4 years ago

0.10.1

4 years ago

0.10.0

4 years ago