Skip to content

GMap plots not working in the notebook and INLINE resources #8733

Description

@bryevdv

The following code:

from bokeh.io import output_notebook, show
from bokeh.models import GMapOptions
from bokeh.plotting import gmap
from bokeh.models import Label

output_notebook()

map_options = GMapOptions(lat=30.2861, lng=-97.7394, map_type="roadmap", zoom=13)

# replace with your google api key
p = gmap("API-KEY", map_options)

show(p)

Generates no output, and the following console error:

ReferenceError: Can't find variable: _bokeh_gmaps_callback

This is on master but evidently at least on 1.0.4 as well

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions