Support JupyterLab #61
Description
Edit: See current status in this comment.
At the moment, czml3.widget.CZMLWidget
has a straightforward _repr_html_
that prints some HTML. However, this is not how custom widgets are supposed to be implemented [citation needed]
We should write our own custom Jupyter widget so it's compatible, at least, with modern JupyterLab.
Edit: Adding more information to this description for completeness
Rather than a JupyterLab extension, if I understand correctly we would need to create a custom Jupyter widget. Therefore, we should be using either https://github.com/jupyter-widgets/widget-cookiecutter (JavaScript, barebones) or https://github.com/jupyter-widgets/widget-ts-cookiecutter (TypeScript + bells & whistles), which are described in https://ipywidgets.readthedocs.io/en/latest/examples/Widget%20Low%20Level.html
However, we should wait for the TypeScript one to be updated: jupyter-widgets/widget-ts-cookiecutter#83
These cookiecutters already make use of https://github.com/jupyter/jupyter-packaging.
For inspiration, we could also have a look at https://github.com/bloomberg/bqplot, https://github.com/jovyan/pythreejs, https://github.com/ellisonbg/ipyleaflet or https://github.com/matplotlib/ipympl.
With this and https://www.npmjs.com/package/c137.js shared by @TJKoury above, we should have everything we need already.