Hi All,
I am trying to work with the GMapPlot to display the metadata of a project I am working on.
It involves mapping a large number (300,000 circles). I have been trying to use the Charts.GMapPlot, following some examples and some trial and error.
Firstly, I get a bit of (seemingly) buggy behaviour with the plot. After I produce it I often need to save the notebook (with the figure inline) and re-open it to view the results displayed correctly (otherwise the map is almost entirely outside of the plot frame, which itself is blank). Apart from that, I tried adding some tools to the plot, but I get some behaviour which isn’t quite optimal, and some things that also seem buggy. Any ideas how I can get around it?
-
Reset tool: currently this resets the lon/lat (x,y) values to 0.0, and 0.0, at original zoom level: would be good to over-ride these values to the originally specified lat. lon. set in GMapOptions.
-
Box Zoom Tool: this appears to just centre the plot over the centre point of the box zoom, without changing the zoom level of the map.
-
Pan bug? When I pan, the glyphs (in my case circles), can become dissociated from their correct map location.
-
Color scale: Is it possible to add a colour scale legend relating to the colours assigned to my circle glyphs?
You can see my example and code in the below notebook:
http://nbviewer.ipython.org/github/benlaken/ECCO/blob/master/iPlots_xyGMap.ipynb
If you want to play with the code directly, it (and the dependency file) is in my rather messy repo at https://github.com/benlaken/ECCO
Also, I am new to using Bokeh, so if you see a better way for me to do something, please let me know.
Thanks,
—Benjamin
