The demo of compilation with library in a different ways.
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
function init() {
|
||||
var map = ol.map()
|
||||
.render('map')
|
||||
.renderTo('map')
|
||||
.layers([ol.layer.osm()])
|
||||
.center([45, 5])
|
||||
.zoom(10);
|
||||
}
|
||||
window['init'] = init;
|
||||
window['init'] = init;
|
||||
|
||||
Reference in New Issue
Block a user