Consistency: get/setMaxResolution instead of get/setMaxRes.

This commit is contained in:
ahocevar committed 2012-06-23 09:10:01 +02:00
1 parent 76d90428bd
commit cdd9439bbd
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -88,7 +88,7 @@ ol.map = function(opt_arg) {
map.setMaxExtent(ol.bounds(maxExtent));
}
if (goog.isDef(maxRes)) {
map.setMaxRes(maxRes);
map.setMaxResolution(maxRes);
}
if (goog.isDef(resolutions)) {
map.setResolutions(resolutions);