How do you show dynamic data with GMapPlot?

How do you show dynamic data with GMapPlot?

This question is too broad to answer in an effective way. In the most general sense, it’s not any different than any of the other existing examples that update data in a variety of ways (JS callbacks, Python callbacks, Ajax data sources, etc) For more specific advice, you’d need to be more specific about exactly what you want to accomplish.

Bryan

···

On Feb 9, 2016, at 03:27, [email protected] wrote:

How do you show dynamic data with GMapPlot?

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 [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/e9dcd61d-dbb9-4aca-8afa-20a49073e1f5%40continuum.io.

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

On a normal plot when we zoom into an area the x_range changes. This enables us to utilize the following piece of code to update coordinates via callback. Where update_coordinates is the callback function. But as soon as we use GMapPlot as our plot variable the x_range no longer changes on zoom updates. We realize this is probably intended in GMapPlot however we want to know if there is a parameter that changes when we zoom in GMapPlot.

plot.x_range.on_change(‘end’, update_coordinates)

···

On Tue, Feb 9, 2016 at 5:32 AM, Bryan Van de Ven [email protected] wrote:

This question is too broad to answer in an effective way. In the most general sense, it’s not any different than any of the other existing examples that update data in a variety of ways (JS callbacks, Python callbacks, Ajax data sources, etc) For more specific advice, you’d need to be more specific about exactly what you want to accomplish.

Bryan

On Feb 9, 2016, at 03:27, [email protected] wrote:

How do you show dynamic data with GMapPlot?

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 [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/e9dcd61d-dbb9-4aca-8afa-20a49073e1f5%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 [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/8898073D-7570-423C-8480-21975646BD54%40continuum.io.

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

GMapPlot has some odd things
going on.

          You may have more immediate look using another tile provider that comes buil                          t-in

with bokeh.

                      with your original plot                             try

something like:

                        from bokeh.tile_                                  providers import

STAMEN_TERRAIN

                              p.add_tile(STAMEN_TERRAIN)

                                  Sincerely,

                                    Sarah Bird
···

On 2/9/16 8:07 PM, Nitesh Anandan
wrote:

    On a normal plot when we zoom into an area the

x_range changes. This enables us to utilize the following piece
of code to update coordinates via callback. Where
update_coordinates is the callback function. But as soon as we
use GMapPlot as our plot variable the x_range no longer changes
on zoom updates. We realize this is probably intended in
GMapPlot however we want to know if there is a parameter that
changes when we zoom in GMapPlot.

plot.x_range.on_change(‘end’, update_coordinates)

      On Tue, Feb 9, 2016 at 5:32 AM, Bryan

Van de Ven [email protected]
wrote:

            This question is too broad to answer in an effective

way. In the most general sense, it’s not any different
than any of the other existing examples that update data
in a variety of ways (JS callbacks, Python callbacks,
Ajax data sources, etc) For more specific advice, you’d
need to be more specific about exactly what you want to
accomplish.

Bryan

                On Feb 9, 2016, at 03:27, [email protected]
                wrote:
                    How do you show dynamic data with

GMapPlot?

                  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 .
To post to this group, send email to .
To view this discussion on the web visit .
For more options, visit .

            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 [email protected].

            To post to this group, send email to .

To view this discussion on the web visit .

  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 [email protected].

  To post to this group, send email to [email protected]

  To view this discussion on the web visit [](https://groups.google.com/a/continuum.io/d/msgid/bokeh/CA%2BoUPP7SfP1zne4%2BxTgQvF%3D%3DbimPNQmkA6yv2YyX4%3D59qMq%3DFQ%40mail.gmail.com?utm_medium=email&utm_source=footer)      .

For more options, visit .

[email protected]
[email protected]
https://groups.google.com/a/continuum.io/d/msgid/bokeh/e9dcd61d-dbb9-4aca-8afa-20a49073e1f5%40continuum.io
https://groups.google.com/a/continuum.io/d/optout
[email protected]
https://groups.google.com/a/continuum.io/d/msgid/bokeh/8898073D-7570-423C-8480-21975646BD54%40continuum.io

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

https://groups.google.com/a/continuum.io/d/msgid/bokeh/CA%2BoUPP7SfP1zne4%2BxTgQvF%3D%3DbimPNQmkA6yv2YyX4%3D59qMq%3DFQ%40mail.gmail.com
https://groups.google.com/a/continuum.io/d/optout

Ah,

As Sarah suggests, you might want to try the other TileRenderers. In particular, GMaps have additional constraints (around maintaining fixed aspect, etc.) that make the integration with Bokeh less than ideal in places. Basically, we have no choice but to let the GMap "do the driving" in UI interactions, and then respond to that. It's possible that a callback can be hooked up and made to work, but I can also believe that, being a special case, it has not *yet* been hooked up and made to work. Can you make a GitHub issue to request this feature?

Thanks,

Bryan

···

On Feb 9, 2016, at 10:07 PM, Nitesh Anandan <[email protected]> wrote:

On a normal plot when we zoom into an area the x_range changes. This enables us to utilize the following piece of code to update coordinates via callback. Where update_coordinates is the callback function. But as soon as we use GMapPlot as our plot variable the x_range no longer changes on zoom updates. We realize this is probably intended in GMapPlot however we want to know if there is a parameter that changes when we zoom in GMapPlot.

plot.x_range.on_change('end', update_coordinates)

On Tue, Feb 9, 2016 at 5:32 AM, Bryan Van de Ven <[email protected]> wrote:
This question is too broad to answer in an effective way. In the most general sense, it's not any different than any of the other existing examples that update data in a variety of ways (JS callbacks, Python callbacks, Ajax data sources, etc) For more specific advice, you'd need to be more specific about exactly what you want to accomplish.

Bryan

On Feb 9, 2016, at 03:27, [email protected] wrote:

How do you show dynamic data with GMapPlot?

--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/e9dcd61d-dbb9-4aca-8afa-20a49073e1f5%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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/8898073D-7570-423C-8480-21975646BD54%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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CA%2BoUPP7SfP1zne4%2BxTgQvF%3D%3DbimPNQmkA6yv2YyX4%3D59qMq%3DFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.