Skip to content

JavaScript decoder for the Quantized Mesh format

License

Notifications You must be signed in to change notification settings

heremaps/quantized-mesh-decoder

Repository files navigation

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.