diff --git a/images/open-folder-icon_sml.png b/images/open-folder-icon_sml.png new file mode 100644 index 00000000..afeda49e Binary files /dev/null and b/images/open-folder-icon_sml.png differ diff --git a/plugins/add-kml.user.js b/plugins/add-kml.user.js index 5a24ea41..dc7ff2e3 100755 --- a/plugins/add-kml.user.js +++ b/plugins/add-kml.user.js @@ -42,14 +42,14 @@ window.plugin.overlayKML.load = function() { L.Icon.Default.imagePath = '@@INCLUDEIMAGE:images/marker-icon.png@@'; var KMLIcon = L.icon({ - iconUrl: '@@INCLUDEIMAGE:images/marker-icon.png@@', + iconUrl: '@@INCLUDEIMAGE:images/marker-icon.png@@';, iconSize: [16, 24], // size of the icon - iconAnchor: [8, 24], // point of the icon which will correspond to marker's location + iconAnchor: [16, 8], // point of the icon which will correspond to marker's location popupAnchor: [-3, 16] // point from which the popup should open relative to the iconAnchor }); - L.Control.FileLayerLoad.LABEL = 'O'; + L.Control.FileLayerLoad.LABEL = 'Open'; L.Control.fileLayerLoad({ fitBounds: true, layerOptions: {