Skip to content

Commit

Permalink
Fixing leaflet interaction. Fixes cutting-room-floor#105, thanks @jac…
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw committed Sep 9, 2011
1 parent bb165b0 commit f3b62a1
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion control/leaf/interaction.js
Expand Up @@ -172,7 +172,7 @@ wax.leaf.interaction = function(map, tilejson, options) {
if (feature) {
switch (this.clickAction) {
case 'full':
this.callbacks.click(feature, this.parent, 0, evt);
this.callbacks.click(feature, map._container);
break;
case 'location':
window.location = feature;
Expand Down
2 changes: 1 addition & 1 deletion dist/wax.g.js
@@ -1,4 +1,4 @@
/* wax - 3.0.7 - 1.0.4-387-ga887ab6 */
/* wax - 3.0.7 - 1.0.4-388-gbb165b0 */


/*!
Expand Down
2 changes: 1 addition & 1 deletion dist/wax.g.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/wax.leaf.js
@@ -1,4 +1,4 @@
/* wax - 3.0.7 - 1.0.4-387-ga887ab6 */
/* wax - 3.0.7 - 1.0.4-388-gbb165b0 */


/*!
Expand Down Expand Up @@ -1037,7 +1037,7 @@ wax.leaf.interaction = function(map, tilejson, options) {
if (feature) {
switch (this.clickAction) {
case 'full':
this.callbacks.click(feature, this.parent, 0, evt);
this.callbacks.click(feature, map._container);
break;
case 'location':
window.location = feature;
Expand Down
4 changes: 2 additions & 2 deletions dist/wax.leaf.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/wax.mm.js
@@ -1,4 +1,4 @@
/* wax - 3.0.7 - 1.0.4-387-ga887ab6 */
/* wax - 3.0.7 - 1.0.4-388-gbb165b0 */


/*!
Expand Down
2 changes: 1 addition & 1 deletion dist/wax.mm.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/wax.ol.js
@@ -1,4 +1,4 @@
/* wax - 3.0.7 - 1.0.4-387-ga887ab6 */
/* wax - 3.0.7 - 1.0.4-388-gbb165b0 */


/*!
Expand Down
2 changes: 1 addition & 1 deletion dist/wax.ol.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f3b62a1

Please sign in to comment.