diff --git a/Gruntfile.js b/Gruntfile.js index 591b50c..9119128 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -29,7 +29,7 @@ module.exports = function(grunt) { options: { banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %>\n' + '* Copyright (c) <%= grunt.template.today("yyyy") %> Environmental Systems Research Institute, Inc.\n' + - '* Apache License' + + '* Apache 2.0 License ' + '*/\n\n' }, js: { @@ -65,7 +65,7 @@ module.exports = function(grunt) { expand: true, cwd: 'src/', src: ['img/*.{png,jpg,gif}'], - dest: 'dist/img' + dest: 'dist/' }] } }, diff --git a/README.md b/README.md index a9e3e59..7fe3794 100644 --- a/README.md +++ b/README.md @@ -44,13 +44,13 @@ Take a look at the live demo at http://esri.github.io/esri-leaflet-geocoder/ var map = L.map('map').setView([45.5165, -122.6764], 12); var tiles = L.tileLayer("http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png").addTo(map); - + // create the geocoding control and add it to the map var searchControl = new L.esri.Controls.Geosearch().addTo(map); - + // create an empty layer group to store the results and add it to the map var results = new L.LayerGroup().addTo(map); - + // listen for the results event and add every result to the map searchControl.on("results", function(data){ results.clearLayers(); @@ -108,7 +108,7 @@ For reference here is the internal structure of the geocoder... ```html
- +