Consistency: get/setMaxResolution instead of get/setMaxRes.

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

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);