Closed caginagirdemir closed 4 years ago
@caginagirdemir , what errors do you have in the console?
@nzjony
I don't understand why it doesn't work. I just loaded the sample code but i couldn't run a python via github. I guess harp gl cannot run through github pages ?
You have a screenshot with a missing requirements.txt
, I guess that is necessary?
I did a local git clone of your https://github.com/caginagirdemir/webglproject and opened the index.html, I get an issue with: index.js:20 Uncaught TypeError: mapControls.setRotation is not a function
use the function lookAt
instead, like: mapView.lookAt({heading: 90})
, see: https://www.harp.gl/docs/master/doc/classes/harp_mapview.mapview-1.html#lookat
We will fix the documentation: https://developer.here.com/tutorials/harpgl/ ASAP
Thank you @nzjony , I fixed
problem is here, index.js:20 Uncaught TypeError: mapControls.setRotation is not a function
I put to ahead of line of code that comment sign, and now working.
Great to hear @caginagirdemir, and thanks for reporting the issue!
Can I close this issue if it is fixed?
Yes, you can.
I uploaded it to github pages but the map is not coming. There are appear only keys.
Github pages are not running Python. Can problem relevant it? thanks in advance.