Hi,
After constructing geodatasource:
gdf_fay0_1_source = GeoJSONDataSource(geojson=gdf_fay0_1.to_json())
I formed the lines:
glyph = MultiLine(xs=“xs”, ys=“ys”, line_color=“red”, line_width=3)
plot.add_glyph(gdf_fay0_1_source , glyph)
But I cannot get the tooltips from these lines:
TOOLTIPS = [
(“tipi”, “@faytipi”)
]
plot = figure(x_range= ( minX, maxX ) , y_range=(minY, maxY) , x_axis_type=“mercator” , y_axis_type=“mercator” , plot_width=1000, plot_height=517, match_aspect=True ,tools = “pan,zoom_in,zoom_out,wheel_zoom,reset,save” , toolbar_location=“above” ,toolbar_sticky=False ,tooltips=TOOLTIPS )
How can I do that?
regards