jmboehm / KeplerGLBase.jl

Base package for KeplerGL.jl, independent of frontend display code
MIT License
0 stars 2 forks source link

Add Autosizer #4

Open hhaensel opened 4 months ago

hhaensel commented 4 months ago

@jmboehm After some try and error I succeeded in wrapping an autosizer around the map. Have a look at https://github.com/GenieFramework/StippleKeplerGL.jl how that can be done. Is that interesting for you? I modified an existing CDN version of react-virtualized-autoresizer to work with Vue by removing import and exports statements and made that an asset of StippleKeplerGL. But we could also make that a part of your package.

jmboehm commented 4 months ago

Thanks. Potentially yes, it could be useful, but I know virtually nothing about anything Javascript or react (it took me a lot of trial and error to get to this point), so I'm hesitant to add stuff that I would find difficult to maintain. So I'll leave this issue open in case somebody wants to have a go at it.

hhaensel commented 4 months ago

Meanwhile the Vue-component is fully working. I've also rewritten part of the reducer code which was a bit lengthy and renamed some parts for better understanding. I might find the time to port that into KeplerGLBase, if your're interested.

jmboehm commented 4 months ago

Absolutely, yes. Thank you!