@here/quantized-mesh-decoder

1.2.8 • Public • Published

Quantized Mesh Decoder

JavaScript decoder for the Quantized Mesh format.

Note: This is experimental code, expect changes.

Installation

In Node.js

The module is installable via yarn (or npm):

yarn add @here/quantized-mesh-decoder
npm install @here/quantized-mesh-decoder

API Reference

import decode from '@here/quantized-mesh-decoder'

decode(buffer, options)
DecoderOptions
  • maxDecodingStep: Number
    Limits how deep decoder should go. Takes of the properties of the DECODING_STEPS map. See import { DECODING_STEPS } from '@here/quantized-mesh-decoder' .
    Default: DECODING_STEPS.extensions.

Links

Sample Tiles Attribution

License

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

See the LICENSE file in the root of this project for license details.

Package Sidebar

Install

npm i @here/quantized-mesh-decoder

Weekly Downloads

58

Version

1.2.8

License

MIT

Unpacked Size

57.3 kB

Total Files

16

Last publish

Collaborators

  • here-bot
  • here-maps
  • heremaps