Create ol.Coordinate around goog.math.Coordinate

This commit is contained in:
Tom Payne
2012-07-19 10:34:12 +02:00
parent d62ba69458
commit c547404615
22 changed files with 155 additions and 131 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
goog.require('goog.math.Coordinate');
goog.require('goog.object');
goog.require('ol.Coordinate');
goog.require('ol.RendererHint');
goog.require('ol.createMap');
goog.require('ol.tilelayer.createOpenStreetMap');
@@ -18,7 +18,7 @@ layer = ol.tilelayer.createOpenStreetMap({
map.getLayers().push(layer);
var resolutions = layer.getStore().getResolutions();
map1.setCenter(new goog.math.Coordinate(0, 0));
map1.setCenter(new ol.Coordinate(0, 0));
map1.setResolution(resolutions[0]);
if (twoMaps) {