Remove plain string from Map renderer option

To get this to compile with the examples, typecasts have to be added to Map renderer options.
This commit is contained in:
Peter Robins
2016-09-15 10:59:09 +00:00
parent e9056c9d30
commit d4024846cf
11 changed files with 6 additions and 13 deletions

View File

@@ -13,7 +13,6 @@ var map = new ol.Map({
source: new ol.source.OSM()
})
],
renderer: 'canvas',
target: 'map',
view: new ol.View({
center: ol.proj.fromLonLat([4.8, 47.75]),