Add simplified API demo

This commit is contained in:
Tom Payne
2012-08-07 20:31:09 +02:00
parent 6cb362218b
commit 5062b71b3c
4 changed files with 39 additions and 1 deletions

6
demos/api1/api1.js Normal file
View File

@@ -0,0 +1,6 @@
var map = ol3.map({
renderTo: 'map',
layers: [ol3.layer.osm()],
center: [45, 5],
zoom: 10
});