slaylines / harp.gl-react-example

Example of React app with harp.gl.
https://www.harp.gl
Apache License 2.0
11 stars 3 forks source link

Adding another harp.gl package #13

Closed am2222 closed 3 years ago

am2222 commented 3 years ago

Hello, I wanted to use https://github.com/heremaps/harp-terrain-datasource package as well, Do I need to compile it with webpack too?

mkalygin commented 3 years ago

@am2222 I don't think so. It's just another dependency which you install with npm/yarn and use.

yarn add @here/harp-terrain-datasource

And in your code:

import { TerrainDataSource } from '@here/harp-terrain-datasource';
am2222 commented 3 years ago

@mkalygin thanks