Move to-be-merged code into attic

This commit is contained in:
Tom Payne
2012-08-07 12:11:25 +02:00
parent 1f5cda88c4
commit 9366ced2a8
36 changed files with 0 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
/* This is a code which is going to be compiled together with the library */
goog.require('ol.Map');
goog.require('ol.layer.OSM');
goog.require('ol.Loc');
goog.require('goog.dom');
function init() {
var map = new ol.Map();
map.setContainer(goog.dom.getElement('map'));
map.setLayers( [ new ol.layer.OSM() ] );
map.setCenter( new ol.Loc(45, 5));
map.setZoom(10);
}
window['init'] = init;