tile_source#

This example displays a CartoDB Positron base world map.

Details

Bokeh APIs:

figure.add_tile

More info:

Geographical data

Keywords:

map, geo, tiles

from bokeh.plotting import figure, show

# range bounds supplied in web mercator coordinates
p = figure(x_range=(-2000000, 2000000), y_range=(1000000, 7000000),
           x_axis_type="mercator", y_axis_type="mercator")

p.add_tile("CartoDB Positron", retina=True)

show(p)