localeai / vue-deck.gl

Deck.gl wrapper for Vue
19 stars 8 forks source link

deck.gl + HexagonLayer port #1

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi guys,

Hope you are all well !

I was wondering if you can help me to port this codepen example (deck.gl) wit vue-deck.gl ? https://codepen.io/lucmichalski/pen/rNjbJWR

Screenshot 2021-05-01 at 10 26 17

Thanks for any insights or inputs on that

Cheers, Luc Michalski

ghost commented 3 years ago

Hi,

I tried but I have the following error:

ERROR in ./~/@hirelofty/vue_deckgl/src/components/mapbox/index.js
Module not found: Error: Can't resolve './Mapbox' in '/home/xxxx/xxxx-xxxx/shared/www/modules/swcmscategories/swcmscategories/node_modules/@hirelofty/vue_deckgl/src/components/mapbox'
resolve './Mapbox' in '/home/xxxx/xxxx-xxxx/shared/www/modules/swcmscategories/swcmscategories/node_modules/@hirelofty/vue_deckgl/src/components/mapbox'
  using description file: /home/xxxx/xxxx-xxxx/shared/www/modules/swcmscategories/swcmscategories/node_modules/@hirelofty/vue_deckgl/package.json (relative path: ./src/components/mapbox)
    Field 'browser' doesn't contain a valid alias configuration
  after using description file: /home/xxxx/xxxx-xxxx/shared/www/modules/swcmscategories/swcmscategories/node_modules/@hirelofty/vue_deckgl/package.json (relative path: ./src/components/mapbox)
    using description file: /home/xxxx/xxxx-xxxx/shared/www/modules/swcmscategories/swcmscategories/node_modules/@hirelofty/vue_deckgl/package.json (relative path: ./src/components/mapbox/Mapbox)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /home/xxxx/xxxx-xxxx/shared/www/modules/swcmscategories/swcmscategories/node_modules/@hirelofty/vue_deckgl/src/components/mapbox/Mapbox doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /home/xxxx/xxxx-xxxx/shared/www/modules/swcmscategories/swcmscategories/node_modules/@hirelofty/vue_deckgl/src/components/mapbox/Mapbox.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /home/xxxx/xxxx-xxxx/shared/www/modules/swcmscategories/swcmscategories/node_modules/@hirelofty/vue_deckgl/src/components/mapbox/Mapbox.json doesn't exist
      as directory
        /home/xxxx/xxxx-xxxx/shared/www/modules/swcmscategories/swcmscategories/node_modules/@hirelofty/vue_deckgl/src/components/mapbox/Mapbox doesn't exist

Any thoughts on how to sort it out ?

Cheers, Luc Michalski