Skip to content

Instantly share code, notes, and snippets.

@geospatialem
Last active August 26, 2015 18:06
Show Gist options
  • Save geospatialem/7e1e13b7702339e2c3b5 to your computer and use it in GitHub Desktop.
Save geospatialem/7e1e13b7702339e2c3b5 to your computer and use it in GitHub Desktop.

Revisions

  1. geospatialem revised this gist Aug 26, 2015. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions leafletEventListener.js
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    map.on("overlayadd", function(a) {
    console.log(a);
    //loop through the overlays and add an element to it using i++
    //and associate with the proper tab (?)
    });
  2. geospatialem created this gist Aug 26, 2015.
    3 changes: 3 additions & 0 deletions leafletEventListener.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    map.on("overlayadd", function(a) {
    console.log(a);
    });