keplergl / kepler.gl

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
http://kepler.gl
MIT License
10.29k stars 1.73k forks source link

[Feature Request] Add a compass and a scale #2562

Open WiIIiamWei opened 5 months ago

WiIIiamWei commented 5 months ago

Hello. I am a student who is trying to use your project for geospacial data analysis. I find your project very conveinent and easy to use, especially in data visualization over time. For a noob like me who knows basically nothing about HTML/CSS/JS but can use Jupyter Notebook, this greatly helped my project. I appriciate for your good work. However, my teacher pointed out that maps generated by kepler.gl does not meet the specifications of map design, specifically, a compass and a scale is required for any standard map.

Solution

Basically, add a compass and a scale to the map, maybe in the bottom-right corner which is basically what all online maps do. Or even better, make it a layer in "Base Map"

Additional Information

I failed to find some sort of funtions or APIs to add this component in Jupyter Notebook. If what I want already exists, please help me add it to my map. Sorry for disturbing.

Also worth mentioning, I failed to run kepler.gl (conda-forge package, Python 3.9) in Jupyter Notebook (Windows 11) for some reason and needs help too. I can progress on my project only because I borrowed my classmate's macOS laptop...

image
ibgreen commented 5 months ago

This is being worked on but it will take some time. deck.gl v9.0 has added a Widget architecture, and defined a few widgets such as compass widget: https://deck.gl/docs/api-reference/widgets/compass-widget.

The ambition is to eventually make these and other widgets available in kepler.gl.

However first we need to port kepler.gl to deck.gl v9.