Provide map and pixel location to callback.

This commit is contained in:
Tim Schaub
2012-03-04 01:56:26 -07:00
parent 268b84286b
commit 32db586fba
2 changed files with 8 additions and 7 deletions

View File

@@ -182,7 +182,7 @@ OpenLayers.Control.UTFGrid = OpenLayers.Class(OpenLayers.Control, {
idx = OpenLayers.Util.indexOf(this.map.layers, layer);
infoLookup[idx] = layer.getFeatureInfo(lonLat);
}
this.callback(infoLookup); // perhaps pass tile, lonLat?
this.callback(infoLookup, lonLat, evt.xy);
}
},