remove setDefaultCenterAndResolution

This commit is contained in:
Éric Lemoine committed 2012-07-17 17:21:28 +02:00
1 parent 41175a475f
commit b4fea2233e
2 files changed
+5 -19

No files matched your search

+5
View File
@@ -25,6 +25,11 @@
});
map.getLayers().push(layer);
var maxResolution = layer.getStore().getResolutions()[0];
map.setCenter(new goog.math.Coordinate(0, 0));
map.setResolution(maxResolution);
</script>
</body>
</html>