GMapOptions()
Syntax : GMapOptions(parameters)
Parameters :
- lat : latitude where the Google map is to be centered
- lng : longitude where the Google map is to be centered
- map_type : type of map to be used for the plot, here are the map types available :
- hybrid
- roadmap
- satellite
- terrain
- name : name for the Google map
- scale_control : whether the Google map should display its distance scale control
- styles : style of map to be used for the plot
- subscribed_events : list of events that are subscribed to by Python callbacks
- tags : tags associated with the Google map model
- tilt : tilting the angle of the map
- zoom : initial zoom level of the Google map
- apply_theme : theme of the model
Returns : an object of the class GMapOptions
Python Bokeh – Plotting glyphs over a Google Map
Bokeh is a Python interactive data visualization. It renders its plots using HTML and JavaScript. It targets modern web browsers for presentation providing elegant, concise construction of novel graphics with high-performance interactivity.
Bokeh can be used to plot glyphs over a Google map. A glyph is a hieroglyphic character or a symbol. To use Google maps in Bokeh, we will use the gmap()
function of the plotting
class.