Hi,
I’m wondering if and how I can plot maps and geo data in Bokehjs. I currently have this type of setup but I’m getting an error worldMap.add_tile is not a function
:
var mapXrange = new Bokeh.Range1d({ start: -2000000, end: 2000000 });
var mapYrange = new Bokeh.Range1d({ start: 1000000, end: 7000000 });
var worldMap = Bokeh.Plotting.figure({
tools: "pan,crosshair,wheel_zoom,box_zoom,reset,save",
height: 890,
width: 460,
x_axis_type: "mercator",
y_axis_type: "mercator",
sizing_mode: "scale_width",
x_range: mapXrange,
y_range: mapYrange
}); // end of bokeh plot definition
worldMap.add_tile("CartoDB Positron");
Bokeh.Plotting.show(worldMap,'div#map');
Thanks for any help!