From 1632166a78ada70acace00f7555a4c7fc38021ea Mon Sep 17 00:00:00 2001 From: Nihal Mirpuri Date: Tue, 24 Sep 2013 22:23:43 +1000 Subject: [PATCH] Replaced folder icon with 'O' --- plugins/add-kml.user.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/add-kml.user.js b/plugins/add-kml.user.js index dc7ff2e3..98784036 100755 --- a/plugins/add-kml.user.js +++ b/plugins/add-kml.user.js @@ -49,8 +49,10 @@ window.plugin.overlayKML.load = function() { popupAnchor: [-3, 16] // point from which the popup should open relative to the iconAnchor }); - L.Control.FileLayerLoad.LABEL = 'Open'; - L.Control.fileLayerLoad({ +// Implementing a folder icon instead of default 'O' icon to open KML. Not yet useable +// L.Control.FileLayerLoad.LABEL = 'Open'; +L.Control.FileLayerLoad.LABEL = 'O'; +L.Control.fileLayerLoad({ fitBounds: true, layerOptions: { pointToLayer: function (data, latlng) {