2

I'm trying to override the tooltip style of Leaflet 1.3.1.and want to completely remove the tooltip pointer as shown in figure.tip pointer

This is my css:

.ToolTipProvince{
          font-size: 15px;
                font-weight:bold;
                padding: 0px;
                background: none;
                border: none;
                color: aqua;
                text-shadow: 0px 0px 10px black;
                box-shadow: none;
            outline: none;
        }

and applying style to layer tooltip:

layer.bindTooltip("Province Number: "+feature.properties.PROVINCE+"", {permanent: true, direction: 'centre', className: 'ToolTipProvince'});
Dinesh Neupane
  • 160
  • 1
  • 4

0 Answers0