remove setDefaultCenterAndResolution
This commit is contained in:
1 parent
41175a475f
commit
b4fea2233e
2 files changed
+5
-19
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user