bokeh.models.map_plots¶
Models for displaying maps in Bokeh plots.
-
class
GMapOptions(**properties)[source]¶ Options for GMapPlot objects.
-
styles¶ property type:
JSONA JSON array of map styles to use for the GMapPlot. Many example styles can be found here.
-
-
class
GMapPlot(**kwargs)[source]¶ Bases:
bokeh.models.map_plots.MapPlotA Bokeh Plot with a Google Map displayed underneath.
Data placed on this plot should be specified in decimal lat long coordinates e.g. 37.123, -122.404. It will be automatically converted into the web mercator projection to display properly over google maps tiles.
-
api_key¶ property type:
StringGoogle Maps API requires an API key. See https://developers.google.com/maps/documentation/javascript/get-api-key for more information on how to obtain your own.
-
map_options¶ property type:
Instance(GMapOptions)Options for displaying the plot.
-
-
class
MapPlot(**kwargs)[source]¶ Bases:
bokeh.models.plots.PlotAbstract base class for map plot models.