Search code examples
google-mapsgoogle-maps-api-3draw

How to remove hand icon (Stop Draw icon) in Drawing Manager?


I need to remove the hand icon (Stop Draw icon) from Drawing Manager tool and keep only polygon in drawing manager.

I tried:

drawingMode: google.maps.drawing.OverlayType.POLYGON,
drawingControl: false

It disables the Drawing Manager toolbar, but can draw polygons. My requirement is to show only polygon in the Drawing Manager toolbar.


Solution

  • Got the Answer,

    In CSS give,

    div[title="Stop drawing"] { 
        display: none !important; 
    }
    

    now the hand icon will not shown