0

I working on web application with Laravel framework and I need to use Google Earth Engine Javascript API in my application and I have installed with npm install --save @google/earthengine and it has been installed without any issue, located in my project node_modules/@google/earthengine but I don't know how to use it in my application I have tried with NPM Installation Google Earth Engine API but there is no in details instruction in this regard.

Gulmuhammad Akbari
  • 1,986
  • 2
  • 13
  • 28
  • Once installed you can consume the library: https://developers.google.com/earth-engine/guides/npm_install#setting-up-authentication-credentials – Clément Baconnier Apr 09 '21 at 15:49
  • @ClémentBaconnier I did that I have created Client_id and privateKay but I don't know where should I load that module and how. – Gulmuhammad Akbari Apr 09 '21 at 15:57
  • usually javascript goes in `resources/js/...` and it is then transpiled using [laravel-mix](https://laravel.com/docs/8.x/mix) – apokryfos Apr 09 '21 at 16:21

0 Answers0