Tests for UTFGrid layer and control.
This commit is contained in:
1 parent
dc4df928ed
commit
268b84286b
5 files changed
+246
-5
No files matched your search
@@ -179,7 +179,7 @@ OpenLayers.Control.UTFGrid = OpenLayers.Class(OpenLayers.Control, {
|
||||
var layer, idx;
|
||||
for (var i=0, len=layers.length; i<len; i++) {
|
||||
layer = layers[i];
|
||||
idx = this.map.layers.indexOf(layer);
|
||||
idx = OpenLayers.Util.indexOf(this.map.layers, layer);
|
||||
infoLookup[idx] = layer.getFeatureInfo(lonLat);
|
||||
}
|
||||
this.callback(infoLookup); // perhaps pass tile, lonLat?
|
||||
|
||||
Reference in new issue
Block a user