I had no idea this option existed, so it's safe to say I did not put in any plumbing to expose it to the Python side. However, it seems that adding it to GMapOptions would be straightforward, and an idea self-contained task for a new contributor. Would be be interested in working up a PR to add this, with some guidance?
I'm trying to create a plot using GMapPlot with satellite imagery.
The problem that I have is that the Google Maps imagery is tilted.
The Google Maps website also does this but you can tilt it upright using a control button.
For the Google maps API that bokeh uses this seems to be controlled by the tilt option Maps JavaScript API | Google for Developers
Am I correct in understanding that I can't control this option through bokeh?
I have set up the development environment and tried adding a tilt option to GMapOptions in map_plots.py.
I’ve also tried adding tilt-related stuff in analogy to any scale_control code I found.
When using GMapOptions with tilt set to a non-default value, the plot does not render and I see an error in the console: “Uncaught Error: property GMapOptions.tilt wasn’t declared”
On Wednesday, August 1, 2018 at 11:52:24 PM UTC+2, Bryan Van de ven wrote:
Hi,
I had no idea this option existed, so it’s safe to say I did not put in any plumbing to expose it to the Python side. However, it seems that adding it to GMapOptions would be straightforward, and an idea self-contained task for a new contributor. Would be be interested in working up a PR to add this, with some guidance?
The changes you made look about right at a glance, but the message you are seeing indicates that your browser is not using the updated BokehJS. I'd suggest going ahead and making a PR on the Bokeh repo and we can discuss any technical issues there.
Thanks,
Bryan
···
On Aug 2, 2018, at 02:56, Nicolas de Palézieux <[email protected]> wrote:
I'd be happy to contribute.
I have set up the development environment and tried adding a tilt option to GMapOptions in map_plots.py.
I've also tried adding tilt-related stuff in analogy to any scale_control code I found.
When using GMapOptions with tilt set to a non-default value, the plot does not render and I see an error in the console: "Uncaught Error: property GMapOptions.tilt wasn't declared"
On Wednesday, August 1, 2018 at 11:52:24 PM UTC+2, Bryan Van de ven wrote:
Hi,
I had no idea this option existed, so it's safe to say I did not put in any plumbing to expose it to the Python side. However, it seems that adding it to GMapOptions would be straightforward, and an idea self-contained task for a new contributor. Would be be interested in working up a PR to add this, with some guidance?
Thanks,
Bryan
> On Jul 31, 2018, at 06:01, nic...@sunflower-labs.com wrote:
>
> Hi all.
>
> I'm trying to create a plot using GMapPlot with satellite imagery.
>
> The problem that I have is that the Google Maps imagery is tilted.
>
> The Google Maps website also does this but you can tilt it upright using a control button.
> For the Google maps API that bokeh uses this seems to be controlled by the tilt option Maps JavaScript API | Google for Developers
>
> Am I correct in understanding that I can't control this option through bokeh?
>
> Thanks for your help
>
> --
> You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
> To post to this group, send email to bo...@continuum.io.
> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/024bf01a-00e0-4cec-9077-896913d03904%40continuum.io\.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
The changes you made look about right at a glance, but the message you are seeing indicates that your browser is not using the updated BokehJS. I’d suggest going ahead and making a PR on the Bokeh repo and we can discuss any technical issues there.
Thanks,
Bryan
On Aug 2, 2018, at 02:56, Nicolas de Palézieux [email protected] wrote:
I’d be happy to contribute.
I have set up the development environment and tried adding a tilt option to GMapOptions in map_plots.py.
I’ve also tried adding tilt-related stuff in analogy to any scale_control code I found.
When using GMapOptions with tilt set to a non-default value, the plot does not render and I see an error in the console: “Uncaught Error: property GMapOptions.tilt wasn’t declared”
On Wednesday, August 1, 2018 at 11:52:24 PM UTC+2, Bryan Van de ven wrote:
Hi,
I had no idea this option existed, so it’s safe to say I did not put in any plumbing to expose it to the Python side. However, it seems that adding it to GMapOptions would be straightforward, and an idea self-contained task for a new contributor. Would be be interested in working up a PR to add this, with some guidance?