Tag Info

New answers tagged

0

You can run the below script in python console from PyQt4 import QtGui, QtCore toolBar = iface.mainWindow().findChild(QtGui.QToolBar,'mMapNavToolBar' ) toolBar.removeAction(self.iface.mainWindow().findChild(QtGui.QAction, 'mActionZoomFullExtent')) you can get the names of the action and toolbar from Customization page


1

you have to change the css, but also the javascript that is used to generate the html for the legend. From the section of the tutorial where the legend is generated ("Creating a control with a legend..."), change the part with the comment "loop through our density intervals...", to something like the following var legend = L.control({position: ...



Top 50 recent answers are included