☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Do not tilt satellite image in GMapPlot

Community Support
Nicolas_de_Palezieux
Nicolas_de_Palezieux

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 Developers

Am I correct in understanding that I can’t control this option through bokeh?

Thanks for your help

⌁   Link to post
Bryan
Bryan

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, nicolas@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+unsubscribe@continuum.io.
To post to this group, send email to bokeh@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\.

⌁   Link to post
Nicolas_de_Palezieux
Nicolas_de_Palezieux

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”

Here is what I did: GitHub - ndepal/bokeh at gmapoptions_tilt

Your help would be greatly appreciated.

Thanks,

Nick

···

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 https://developers.google.com/maps/documentation/javascript/reference/3/map#MapOptions.tilt

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.

⌁   Link to post
Bryan
Bryan

Hi,

Great! Regarding your comments, have you gone through the Dev Guide "Getting Set Up" section to be able to Build and use BokehJS locally?

  Setting up a development environment — Bokeh 3.3.2 Documentation

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 <nicolas@sunflower-labs.com> 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"

Here is what I did: GitHub - ndepal/bokeh at gmapoptions_tilt

Your help would be greatly appreciated.

Thanks,
Nick

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\.

--
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+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/7ec3c9b3-9e42-447b-9eb6-c6f88c587db8%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post
Nicolas_de_Palezieux
Nicolas_de_Palezieux

Done: Add tilt option to GMapOptions by ndepal · Pull Request #8130 · bokeh/bokeh · GitHub

···

On Thursday, August 2, 2018 at 5:17:17 PM UTC+2, Bryan Van de ven wrote:

Hi,

Great! Regarding your comments, have you gone through the Dev Guide “Getting Set Up” section to be able to Build and use BokehJS locally?

    [https://bokeh.pydata.org/en/latest/docs/dev_guide/setup.html](https://bokeh.pydata.org/en/latest/docs/dev_guide/setup.html)

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 nic...@sunflower-labs.com 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”

Here is what I did: https://github.com/ndepal/bokeh/tree/gmapoptions_tilt

Your help would be greatly appreciated.

Thanks,

Nick

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 https://developers.google.com/maps/documentation/javascript/reference/3/map#MapOptions.tilt

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.

–
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/7ec3c9b3-9e42-447b-9eb6-c6f88c587db8%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post

End of archived discussion · Replies are disabled