You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently seen this thread that recommends using nebula.gl if I want to draw polygons on the map with deck.gl. It works fine, however, I haven't found any link of the nebula.gl library for using with the <script> tag. Their documentation is focused on using it on a node.js project.
On deck.gl, there's a way of using it with the script tag as shown on the documentation <script src="https://unpkg.com/deck.gl@latest/dist.min.js"></script>. I made a question on the nebula.gl github page to know if there was a way of using their library with the script tag 10 days ago but I haven't got any answer so far: uber/nebula.gl#649
So, since deck.gl compiles its library on a single file, is there any way of drawing polygons on deck.gl without having to use webpack to compile the entire project? My main goal is to be able to draw a polygon on a deck.gl map just like this example page: https://codesandbox.io/s/deckgl-and-nebulagl-editablegeojsonlayer-no-react-p9yrs?file=/app.js . Apparently the only solution available is with nebula.gl. But it seems to me that for using nebula.gl I need to compile the entire project.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've recently seen this thread that recommends using nebula.gl if I want to draw polygons on the map with deck.gl. It works fine, however, I haven't found any link of the nebula.gl library for using with the
<script>
tag. Their documentation is focused on using it on a node.js project.On deck.gl, there's a way of using it with the script tag as shown on the documentation
<script src="https://unpkg.com/deck.gl@latest/dist.min.js"></script>
. I made a question on the nebula.gl github page to know if there was a way of using their library with the script tag 10 days ago but I haven't got any answer so far: uber/nebula.gl#649So, since deck.gl compiles its library on a single file, is there any way of drawing polygons on deck.gl without having to use webpack to compile the entire project? My main goal is to be able to draw a polygon on a deck.gl map just like this example page: https://codesandbox.io/s/deckgl-and-nebulagl-editablegeojsonlayer-no-react-p9yrs?file=/app.js . Apparently the only solution available is with nebula.gl. But it seems to me that for using nebula.gl I need to compile the entire project.
Beta Was this translation helpful? Give feedback.
All reactions