Replaced folder icon with 'O'

This commit is contained in:
Nihal Mirpuri 2013-09-24 22:23:43 +10:00
parent 841497f53b
commit 1632166a78

View File

@ -49,8 +49,10 @@ window.plugin.overlayKML.load = function() {
popupAnchor: [-3, 16] // point from which the popup should open relative to the iconAnchor popupAnchor: [-3, 16] // point from which the popup should open relative to the iconAnchor
}); });
L.Control.FileLayerLoad.LABEL = '<img src="@@INCLUDEIMAGE:images/open-folder-icon_sml.png@@" alt="Open" />'; // Implementing a folder icon instead of default 'O' icon to open KML. Not yet useable
L.Control.fileLayerLoad({ // L.Control.FileLayerLoad.LABEL = '<img src="@@INCLUDEIMAGE:images/open-folder-icon_sml.png@@" alt="Open" />';
L.Control.FileLayerLoad.LABEL = 'O';
L.Control.fileLayerLoad({
fitBounds: true, fitBounds: true,
layerOptions: { layerOptions: {
pointToLayer: function (data, latlng) { pointToLayer: function (data, latlng) {