#!/usr/bin/env python # coding: utf-8 # # Change cursor type over the map # In[ ]: from ipyleaflet import Map m = Map() m.zoom = 3 m # ### There are two instances when you can change the cursor type: when dragging, and when not dragging # ### Not dragging (default) # In[ ]: # Crosshair m.default_style = {"cursor": "crosshair"} # In[ ]: # Pointer m.default_style = {"cursor": "default"} # In[ ]: # Waiting m.default_style = {"cursor": "wait"} # In[ ]: # Not allowed value m.default_style = {"cursor": "notallowedcursor"} # ### When dragging # In[ ]: # col resize m.dragging_style = {"cursor": "col-resize"}