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

Map not rendering #4

Closed gsavvid closed 4 years ago

gsavvid commented 4 years ago

Hi, thanks for this sample project. Although the offices load fine, the map doesn't. I tried replacing your access token with mine in case yours expired but the result was the same. Here's a screenshot of the outcome. Any ideas what the issue might be?

Screenshot 2020-06-18 at 12 40 40
mkalygin commented 4 years ago

Hi @gsavvid! Thanks for the info. I've updated the code, now it should work fine. It was using latest version of a theme API, which is not compatible anymore with the version of a library in this repo.

gsavvid commented 4 years ago

Thanks @mkalygin! This solves the issue. Which library is it that's not compatible with the latest version of the theme API? Just for future reference...

mkalygin commented 4 years ago

@gsavvid Harp.gl version in this repo wasn't compatible with the https://unpkg.com/@here/harp-map-theme version (the latest was used, while harp.gl in this repo works with v0.10).

gsavvid commented 4 years ago

@mkalygin Are there any plans to update all harp.gl dependencies to the latest version (v0.16.0) perhaps?

mkalygin commented 4 years ago

@gsavvid I've updated the master branch. It works with the latest harp.gl v0.16.0 now.

frobones commented 3 years ago

@mkalygin Any plans to update all harp.gl dependencies to the latest version (v0.21.1)?

I've attempted myself, but the nothing renders. I'm also new to web dev so there have been some learning hurdles along the way.

nzjony commented 3 years ago

@frobones I did this yesterday in another repo, see: https://github.com/sainap/harpgl-samples/pull/2

our check out: https://github.com/PanetoneCake/HarpGL-React.JS

mkalygin commented 3 years ago

@frobones I'll check this out and update the dependencies this weekend.

frobones commented 3 years ago

@frobones I did this yesterday in another repo, see: sainap/harpgl-samples#2

our check out: https://github.com/PanetoneCake/HarpGL-React.JS

Awesome, thank you for this!