replace LonLat argument with simple object (Map.getLayerPxFromLonLat)

This commit is contained in:
fredj
2011-12-09 10:13:11 +01:00
committed by Frederic Junod
parent 7a5b469192
commit 1df5cfa158
4 changed files with 17 additions and 10 deletions

View File

@@ -417,7 +417,7 @@
translatedPX = {};
layer.map = {
getLayerPxFromLonLat: function(ul) {
t.ok(ul.equals(desiredUL), "correct ul passed to translation");
t.ok(ul.lon === desiredUL.lon && ul.lat === desiredUL.lat, "correct ul passed to translation");
return translatedPX;
},
getResolution: function() {